Part Number Hot Search : 
SR5411 74ABT543 1A102 1N5232B UMB10MU LTC68 5ETP4 83C51FA
Product Description
Full Text Search
 

To Download STAC9752 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 DATASHEET
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING Description
IDT's STAC9752/9753 are general purpose 20-bit, full duplex, audio CODECs conforming to the analog component specification of AC'97 (Audio CODEC 97 Component Specification Rev. 2.3). The STAC9752/9753 incorporate IDT's proprietary technology to achieve a DAC SNR in excess of 90dB. The DACs, ADCs and mixer are integrated with analog I/Os, which include four analog line-level stereo inputs, two analog line-level mono inputs, two stereo outputs, and one mono output channel. The STAC9752/9753 include digital output capability for support of modern PC systems with an output that supports the SPDIF format. The STAC9752/9753 are standard 2-channel stereo CODECs. With IDT's headphone capability, headphones can be driven without an external amplifier. The STAC9752/9753 may be used as a secondary or tertiary CODECs, with STAC9700/21/44/56/ 08/84/50/66 as the primary, in a multiple CODEC configuration conforming to the AC'97 Rev. 2.3 specification. This configuration can provide the true six-channel, AC-3 playback required for DVD applications. The STAC9752/9753 communicate via the five AC-Link lines to any digital component of AC'97, providing flexibility in the audio system design. Packaged in an AC'97 compliant 48-pin TQFP, the STAC9752/9753 can be placed on the motherboard, daughter boards, PCI, AMR, CNR, MDC or ACR cards.
STAC9752/9753
* * * * * * * * * * * * * * * * * * * * *
5-wire AC-Link protocol compliance 20-bit SPDIF Output Internal Jack Sensing on Headphone and Line_Out Internal Microphone Input Sensing Digital PC Beep Option Extended AC'97 2.3 Paging Registers Adjustable VREF amplifier Digital-ready status General purpose I/Os Crystal Elimination Circuit Headphone drive capability (50 mW) 0dB, 10dB, 20dB, and 30dB microphone boost capability +3.3 V (STAC9753) and +5 V (STAC9752) analog power supply options Pin compatible with the STAC9700, STAC9721, STAC9756 100% pin compatible with STAC9750 and STAC9766 IDT Surround (SS3D) Stereo Enhancement Energy saving dynamic power modes Multi-CODEC option (Intel AC'97 rev 2.3) Six analog line-level inputs 90dB SNR Line to Line SNR > 89dB through Mixer and DAC
Features
* * * *
High performance technology AC'97 Rev 2.3 compliant 20-bit full duplex stereo ADCs, DACs Independent sample rates for ADCs & DACs
IDTTM
1
STAC9752/9753
V 3.3 101006
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
TABLE OF CONTENTS
1. PRODUCT BRIEF ...................................................................................................................... 7
1.1. Description ........................................................................................................................................ 7 1.2. STAC9752/9753 Block Diagram ........................................................................................................ 8 1.3. Key Specifications ............................................................................................................................. 8 1.4. Related Materials .............................................................................................................................. 9 1.5. Additional Support ............................................................................................................................. 9
2. CHARACTERISTICS AND SPECIFICATIONS .......................................................................10
2.1. Electrical Specifications ................................................................................................................... 10 2.1.1. Absolute Maximum Ratings ............................................................................................... 10 2.1.2. Recommended Operation Conditions .............................................................................. 10 2.1.3. Power Consumption ......................................................................................................... 11 2.1.4. AC-Link Static Digital Specifications ................................................................................. 12 2.1.5. STAC9752 5 V Analog Performance Characteristics ....................................................... 12 2.1.6. STAC9753 3.3V Analog Performance Characteristics .....................................................14 2.2. AC Timing Characteristics ............................................................................................................... 16 2.2.1. Cold Reset ......................................................................................................................... 16 2.2.2. Warm Reset ....................................................................................................................... 16 2.2.3. Clocks ................................................................................................................................ 17 2.2.4. STAC9752/9753 Crystal Elimination Circuit and Clock Frequencies ................................17 2.2.5. Data Setup and Hold ........................................................................................................ 18 2.2.6. Signal Rise and Fall Times ............................................................................................... 18 2.2.7. AC-Link Low Power Mode Timing .................................................................................... 19 2.2.8. ATE Test Mode ................................................................................................................. 19
3. TYPICAL CONNECTION DIAGRAM .......................................................................................20
3.1. Slit Independent Power Supply Operation ...................................................................................... 21
4. CONTROLLER, CODEC AND AC-LINK .................................................................................23
4.1. AC-Link Physical Interface .............................................................................................................. 23 4.2. Controller to Single CODEC ............................................................................................................ 23 4.3. Controller to Multiple CODECs ........................................................................................................ 25 4.3.1. Primary CODEC Addressing ............................................................................................. 25 4.3.2. Secondary CODEC Addressing ........................................................................................ 25 4.3.3. CODEC ID Strapping ......................................................................................................... 26 4.4. Clocking for Multiple CODEC Implementations ............................................................................... 26 4.5. STAC9752/9753 as a Primary CODEC ........................................................................................... 26 4.5.1. STAC9752/9753 as a Secondary CODEC ........................................................................ 26 4.6. AC-Link Power Management ........................................................................................................... 27 4.6.1. Powering down the AC-Link .............................................................................................. 27 4.6.2. Waking up the AC-Link ...................................................................................................... 27 4.6.3. CODEC Reset ................................................................................................................... 28
5. AC-LINK DIGITAL INTERFACE ..............................................................................................29
5.1. Overview ......................................................................................................................................... 29 5.2. AC-Link Serial Interface Protocol .................................................................................................... 30 5.2.1. AC-Link Variable Sample Rate Operation ......................................................................... 30 5.2.2. Variable Sample Rate Signaling Protocol .......................................................................... 30 5.2.3. Primary and Secondary CODEC Register Addressing ...................................................... 32 5.3. AC-Link Output Frame (SDATA_OUT) ............................................................................................ 32 5.3.1. Slot 0: TAG / CODEC ID ................................................................................................... 34 5.3.2. Slot 1: Command Address Port ......................................................................................... 34 5.3.3. Slot 2: Command Data Port ............................................................................................... 35 5.3.4. Slot 3: PCM Playback Left Channel .................................................................................. 35 5.3.5. Slot 4: PCM Playback Right Channel ................................................................................ 35 5.3.6. Slot 5: Modem Line 1 Output Channel .............................................................................. 35 5.3.7. Slot 6 - 11: DAC ................................................................................................................. 35
IDTTM
2
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.3.8. Slot 12: Audio GPIO Control Channel ............................................................................... 36 5.4. AC-Link Input Frame (SDATA_IN) ................................................................................................. 36 5.4.1. Slot 0: TAG ........................................................................................................................37 5.4.2. Slot 1: Status Address Port / SLOTREQ signalling bits .....................................................37 5.4.3. Slot 2: Status Data Port ..................................................................................................... 38 5.4.4. Slot 3: PCM Record Left Channel ..................................................................................... 38 5.4.5. Slot 4: PCM Record Right Channel ................................................................................... 38 5.4.6. Slot 5: Modem Line 1 ADC ................................................................................................ 38 5.4.7. Slot 6 - 9: ADC ................................................................................................................... 38 5.4.8. Slots 7 & 8: Vendor Reserved ........................................................................................... 39 5.4.9. Slot 10 & 11: ADC ............................................................................................................. 39 5.4.10. Slot 12: Reserved ............................................................................................................ 39 5.5. AC-Link Interoperability Requirements and Recommendations ...................................................... 40 5.5.1. "Atomic slot" Treatment of Slot 1 Address and Slot 2 Data ...............................................40 5.6. Slot Assignments for Audio ............................................................................................................. 41
6. STAC9752/9753 MIXER ..........................................................................................................43 7. MIXER FUNCTIONAL DIAGRAMS ........................................................................................44
7.1. Analog Mixer Input ......................................................................................................................... 45 7.2. Mixer Analog Output ....................................................................................................................... 45 7.3. SPDIF Digital Mux ...........................................................................................................................45 7.4. PC Beep Implementation ................................................................................................................ 46 7.4.1. Analog PC Beep ................................................................................................................ 46 7.4.2. Digital PC Beep ................................................................................................................. 46
8. PROGRAMMING REGISTERS ...............................................................................................47
8.1. Register Descriptions ...................................................................................................................... 48 8.1.1. Reset (00h) ....................................................................................................................... 48 8.1.2. Master Volume Registers (02h) ........................................................................................ 48 8.1.3. Headphone Volume Registers (04h) ................................................................................. 49 8.1.4. Master Volume MONO (06h) ............................................................................................ 50 8.1.5. PC BEEP Volume (0Ah) ................................................................................................... 51 8.1.6. Phone Volume (Index 0Ch) .............................................................................................. 51 8.1.7. Mic Volume (Index 0Eh) .................................................................................................... 52 8.1.8. LineIn Volume (Index 10h) ............................................................................................... 52 8.1.9. CD Volume (Index 12h) .................................................................................................... 53 8.1.10. Video Volume (Index 14h) ............................................................................................. 53 8.1.11. Aux Volume (Index 16h) ................................................................................................. 54 8.1.12. PCMOut Volume (Index 18h) ......................................................................................... 54 8.1.13. Record Select (1Ah) ....................................................................................................... 55 8.1.14. Record Gain (1Ch) ......................................................................................................... 55 8.1.15. General Purpose (20h) ................................................................................................... 56 8.1.16. 3D Control (22h) ............................................................................................................. 56 8.1.17. Audio Interrupt and Paging (24h) .................................................................................... 57 8.1.18. Powerdown Ctrl/Stat (26h) .............................................................................................. 58 8.1.19. Extended Audio ID (28h) ................................................................................................ 59 8.1.20. Extended Audio Control/Status (2Ah) ............................................................................. 61 8.1.21. PCM DAC Rate Registers (2Ch and 32h) ...................................................................... 63 8.1.22. PCM DAC Rate (2Ch) .................................................................................................... 63 8.1.23. PCM LR ADC Rate (32h) ............................................................................................... 63 8.1.24. SPDIF Control (3Ah) ........................................................................................................ 64 8.2. General Purpose Input & Outputs ................................................................................................... 64 8.2.1. EAPD ................................................................................................................................. 64 8.2.2. GPIO Pin Definitions .......................................................................................................... 65 8.2.3. GPIO Pin Implementation .................................................................................................. 65 8.2.4. Extended Modem Status and Control Register (3Eh) ........................................................65 8.2.5. GPIO Pin Configuration Register (4Ch) ............................................................................. 66
IDTTM
3
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.2.6. GPIO Pin Polarity/Type Register (4Eh) ............................................................................. 66 8.2.7. GPIO Pin Sticky Register (50h) ......................................................................................... 66 8.2.8. GPIO Pin Mask Register (52h) .......................................................................................... 67 8.2.9. GPIO Pin Status Register (54h) ........................................................................................ 67 8.3. Extended CODEC Registers Page Structure Definition .................................................................. 68 8.3.1. Extended Registers Page 00 ............................................................................................. 68 8.3.2. Extended Registers Page 01 ............................................................................................. 68 8.3.3. Extended Registers Page 02, 03 ....................................................................................... 68 8.4. STAC9752/9753 Paging Registers ................................................................................................. 69 8.4.1. CODEC Class/Rev (60h Page 01h) ............................................................................... 69 8.4.2. PCI SVID (62h Page 01h) ............................................................................................... 70 8.4.3. PCI SSID (64h Page 01h) ............................................................................................... 70 8.4.4. Function Select (66h Page 01h) ...................................................................................... 71 8.4.5. Function Information (68h Page 01h) .............................................................................. 72 8.4.6. Digital Audio Control (6Ah, Page 00h) ............................................................................... 73 8.4.7. Sense Details (6Ah Page 01h) ........................................................................................ 74 8.4.8. Revision Code (6Ch) ........................................................................................................ 76 8.4.9. Analog Special (6Eh) ......................................................................................................... 76 8.4.10. Analog Current Adjust (72h) ............................................................................................ 77 8.4.11. EAPD Access Register (74h) .......................................................................................... 77 8.4.12. High Pass Filter Bypass (78h) ........................................................................................ 78 8.5. Vendor ID1 and ID2 (Index 7Ch and 7Eh) ...................................................................................... 79 8.5.1. Vendor ID1 (7Ch) ............................................................................................................. 79 8.5.2. Vendor ID2 (7Eh) ............................................................................................................... 79
9. LOW POWER MODES ...........................................................................................................80 10. MULTIPLE CODEC SUPPORT ............................................................................................82
10.1. Primary/Secondary CODEC Selection .......................................................................................... 82 10.1.1. Primary CODEC Operation ............................................................................................ 82 10.1.2. Secondary CODEC Operation ........................................................................................ 82 10.2. Secondary CODEC Register Access Definitions .......................................................................... 83
11. TESTABILITY ........................................................................................................................84
11.0.1. ATE Test Mode ................................................................................................................ 84
12. PIN DESCRIPTION ................................................................................................................85
12.1. Digital I/O ...................................................................................................................................... 86 12.2. Analog I/O .................................................................................................................................... 87 12.3. Filter/References .......................................................................................................................... 88 12.4. Power and Ground Signals .......................................................................................................... 88
13. ORDERING INFORMATION ..................................................................................................89 14. PACKAGE DRAWING ...........................................................................................................89 15. 48-PIN LQFP SOLDER REFLOW PROFILE .........................................................................90
15.1. Standard Reflow Profile Data ........................................................................................................ 90 15.2. Pb Free Process - Package Classification Reflow Temperatures ................................................. 91
16. APPENDIX A: PROGRAMMING REGISTERS .....................................................................92 17. REVISION HISTORY .............................................................................................................94
IDTTM
4
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
LIST OF FIGURES
Figure 1. Block Diagram ................................................................................................................................. 8 Figure 2. Cold Reset Timing ......................................................................................................................... 16 Figure 3. Warm Reset Timing ....................................................................................................................... 16 Figure 4. Clocks Timing ............................................................................................................................... 17 Figure 5. Data Setup and Hold Timing ......................................................................................................... 18 Figure 6. Signal Rise and Fall Times Timing ................................................................................................ 18 Figure 7. AC-Link Low Power Mode Timing .............................................................................................. 19 Figure 8. ATE Test Mode Timing ............................................................................................................... 19 Figure 9. Typical Connection Diagram .......................................................................................................... 20 Figure 10. Split Independent Power Supply Operation ................................................................................. 22 Figure 11. AC-Link to its Companion Controller ........................................................................................... 23 Figure 12. CODEC Clock Source Detection .................................................................................................. 24 Figure 13. STAC9752/9753 Powerdown Timing .......................................................................................... 27 Figure 14. Bi-directional AC-Link Frame with Slot assignments ................................................................... 29 Figure 15. AC-Link Audio Output Frame ...................................................................................................... 33 Figure 16. Start of an Audio Output Frame ................................................................................................... 33 Figure 17. STAC9752/9753 Audio Input Frame ........................................................................................... 36 Figure 18. Start of an Audio Input Frame ...................................................................................................... 36 Figure 19. Bi-directional AC-Link Frame with Slot assignments ................................................................... 41 Figure 20. STAC9752 2-Channel Mixer Functional Diagram ........................................................................ 44 Figure 21. STAC9753 2-Channel Mixer Functional Diagram .......................................................................44 Figure 22. Example of STAC9752/9753 Powerdown/Powerup flow ...........................................................80 Figure 23. Powerdown/Powerup flow with analog still alive ......................................................................... 81 Figure 24. Pin Description Drawing ............................................................................................................... 85 Figure 25. Reflow Profile ..............................................................................................................................90
IDTTM
5
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
LIST OF TABLES
Table 1. Clock Mode Configuration ............................................................................................................... 17 Table 2. Common Clocks and Sources ......................................................................................................... 18 Table 3. Recommended CODEC ID strapping ............................................................................................. 26 Table 4. AC-Link output slots (transmitted from the Controller) ..................................................................... 29 Table 5. The AC-Link input slots (transmitted from the CODEC) .................................................................. 30 Table 6. VRA Behavior .................................................................................................................................. 31 Table 7. Output Slot 0 Bit Definitions ............................................................................................................ 34 Table 8. Command Address Port Bit Assignments ........................................................................................ 35 Table 9. Status Address Port Bit Assignments .............................................................................................. 37 Table 10. Status Data Port Bit Assignments .................................................................................................. 38 Table 11. Primary CODEC Addressing: Slot 0 Tag Bits ................................................................................ 40 Table 12. Secondary CODEC Addressing: Slot 0 Tag Bits ........................................................................... 40 Table 13. AC-Link Slot Definitions ................................................................................................................. 41 Table 14. AC-Link Input Slots Dedicated To Audio ....................................................................................... 41 Table 15. Audio Interrupt Slot Definitions ...................................................................................................... 42 Table 16. Digital PC Beep Examples ............................................................................................................. 46 Table 17. Programming Registers ................................................................................................................. 47 Table 18. Extended Audio ID Register Functions .......................................................................................... 60 Table 19. AMAP compliant ............................................................................................................................ 63 Table 20. Hardware Supported Sample Rates .............................................................................................. 63 Table 21. Supported Jack and Microphone Sense Functions .......................................................................71 Table 22. Reg 68h Default Values ................................................................................................................. 73 Table 23. Gain or Attenuation Examples ....................................................................................................... 73 Table 24. Register 68h/Page 01h Bit Overview ............................................................................................. 73 Table 25. Sensed Bits (Outputs) ................................................................................................................... 75 Table 26. Sensed Bits (Inputs) ...................................................................................................................... 75 Table 27. Low Power Modes ......................................................................................................................... 80 Table 28. CODEC ID Selection .....................................................................................................................82 Table 29. Secondary CODEC Register Access Slot 0 Bit Definitions ...........................................................83 Table 30. Test Mode Activation .....................................................................................................................84 Table 31. ATE Test Mode Operation ............................................................................................................. 84 Table 32. Digital Connection Signals ............................................................................................................. 86 Table 33. Analog Connection Signals ........................................................................................................... 87 Table 34. Filtering and Voltage References .................................................................................................. 88 Table 35. Power and Ground Signals ............................................................................................................ 88
IDTTM
6
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
1. PRODUCT BRIEF 1.1. Description
IDT's STAC9752/9753 are general purpose 20-bit, full duplex, audio CODECs conforming to the analog component specification of AC'97 (Audio CODEC 97 Component Specification Rev. 2.3). The STAC9752/9753 incorporate IDT's proprietary technology to achieve a DAC SNR in excess of 90dB. The DACs, ADCs and mixer are integrated with analog I/Os, which include four analog line-level stereo inputs, two analog line-level mono inputs, two stereo outputs, and one mono output channel. The STAC9752/9753 include digital output capability for support of modern PC systems with an output that supports the SPDIF format. The STAC9752/9753 are standard 2-channel stereo CODECs. With IDT's headphone capability, headphones can be driven without an external amplifier. The STAC9752/9753 may be used as a secondary or tertiary CODECs, with STAC9700/21/44/56/ 08/84/50/66 as the primary, in a multiple CODEC configuration conforming to the AC'97 Rev. 2.3 specification. This configuration can provide the true six-channel, AC-3 playback required for DVD applications. The STAC9752/9753 communicate via the five AC-Link lines to any digital component of AC'97, providing flexibility in the audio system design. Packaged in an AC'97 compliant 48-pin TQFP, the STAC9752/9753 can be placed on the motherboard, daughter boards, PCI, AMR, CNR, MDC or ACR cards. The STAC9752/9753 block diagram is illustrated in Figure 1. The STAC9752/9753 provides variable sample rate Digital-to-Analog (DA) and Analog-to-Digital (AD) conversion, mixing, and analog processing. Supported audio sample rates include 48 KHz, 44.1 KHz, 32 KHz, 22.05 KHz, 16 KHz, 11.025 KHz, and 8 KHz; additional rates are supported in the STAC9752/9753 soft audio drivers. All ADCs and DACs operate at 20-bit resolution. Two 20-bit DACs convert the digital stereo PCM_OUT content to audio. The MIXER block combines the PCM_OUT with any analog sources, to drive the LINE_OUT and HP_OUT outputs. The MONO_OUT delivers either microphone only, or a mono mix of sources from the MIXER. The stereo variable-sample-rate 20-bit ADCs provide record capability for any mix of mono or stereo sources, and deliver a digital stereo PCM-in signal back to the AC-Link. The microphone input and mono mix input can be recorded simultaneously, thus allowing for an all digital output in support of the digital ready initiative. For a digital ready record path, the microphone is connected to the left channel ADC while the mono output of the stereo mixer is connected to right channel ADC. The STAC9752/9753 include jack sensing on the Headphone and Line_Out. The STAC9752/9753 jack sense can detect the presence of devices on the Headphone and Line Outputs and on both Microphone inputs. With proprietary IDT current and impedance-sensing techniques, the impedance load on the Headphone and Line Outputs can also be detected. The GPIOs on the STAC9752/9753 remain available for advanced configurations. The STAC9752/9753 implementation of jack sense uses the Extended Paging Registers defined by the AC'97 2.3 Specification. This allows for additional registry space to hold the identification information about the CODEC, the jack sensing details and results, and the external surroundings of the CODEC. The information within the Extended Paging Registers will allow for the automatic configuration of the audio subsystem without end-user intervention. For example, the BIOS can populate the Extended Paging Registers with valuable information for both the audio driver and the operating system such as gain and attenuation stages, input population and input phase. With this input information, the IDT driver will automatically provide to the Volume Control Panel only the volume sliders that are implemented in the system, thus improving the end-user's experience with the PC. The information in the Extended Paging Registers will also allow for automatic configuration of microphone inputs, the ability to switch between SPDIF and analog outputs, the routing of the mas-
IDTTM
7
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
ter volume slider to the proper physical output, and SoftEQ configurations. The fully parametric IDT SoftEQ can be initiated upon jack insertion and sensed impedance levels. The STAC9752/9753 also offers 2 styles of PC BEEP; Analog and Digital. The digital PC Beep is a new feature added to the AC'97 Specification Rev 2.3. The STAC9752/9753 is designed primarily to support stereo (2-speaker) audio. True AC-3 playback can be achieved for 6-speaker applications by taking advantage of the multi-CODEC option available in the STAC9752/9753 to support multiple CODECs in an AC'97 architecture. Additionally, the STAC9752/9753 provides for a stereo enhancement feature, IDT Surround 3D (SS3D). SS3D provides the listener with several options for improved speaker separation beyond the normal two- or four-speaker arrangements. The STAC9752/9753 can be SoundBlaster (R) and Windows Sound System(R) compatible when used with IDT's WDM driver for Windows 98/2K/ME/XP or with Intel/Microsoft driver included with Windows 2K/ME/XP. SoundBlaster is a registered trademark of Creative Labs. Windows is a registered trademark of Microsoft Corporation.
1.2.
STAC9752/9753 Block Diagram
Figure 1. Block Diagram
Power Management 4 stereo sources 2 mono sources Stereo Mono HP_OUT
PCM out DACs
AC-link
SYNC BIT_CLK SDATA_OUT SDATA_IN RESET#
DAC
Digital Interface
Registers 64x16 bits
DAC
MIXER
ADC ADC PCM in ADCs GPIO1 GPIO0 Analog mixing and Gain Control
LINE_OUT MONO_OUT
Multi-Codec
CID0 CID1 EAPD Variable Sample Rate 20-Bit DACs and 20-Bit ADCs
Mic Boost 0,10,20 or 30 dB
M MIC1 U X MIC2
SPDIF
1.3.
Key Specifications
* * * * * * * Analog LINE_OUT SNR: 90 dB STAC9752 DAC SNR: 89 dB STAC9753 DAC SNR: 84dB STAC9752 ADC SNR: 90 dB STAC9753 ADC SNR: 88 dB Crosstalk between Input Channels: -70 dB Spurious Tone Rejection: 100 dB
IDTTM
8
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
1.4.
Related Materials
* * * Product Brief Reference Designs for MB, AMR, CNR, and ACR applications Audio Precision Performance Plots
1.5.
Additional Support
Additional product and company information can be obtained by going to the IDT web site.
IDTTM
9
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2. CHARACTERISTICS AND SPECIFICATIONS 2.1. Electrical Specifications
2.1.1. Absolute Maximum Ratings
Stresses above the ratings listed below can cause permanent damage to the STAC9752/9753. These ratings, which are standard values for IDT commercially rated parts, are stress ratings only. Functional operation of the device at these or any other conditions above those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods can affect product reliability. Electrical parameters are guaranteed only over the recommended operating temperature range.
Item
Analog maximum supply voltage Digital maximum supply voltage VREFOUT output current Voltage on any pin relative to ground Operating temperature Storage temperature Soldering temperature
Pin
AVdd DVdd 6 Volts 5.5 Volts 5 mA
Maximum Rating
Vss - 0.3 V to Vdd + 0.3 V 0o C to +70o C -55 o C to +125 o C 260 o C for 10 seconds * Soldering temperature information for all available packages begins on page 90.
2.1.2.
Recommended Operation Conditions Parameter Min.
Digital - 3.3 V Analog - 5 V Analog - 3.3 V 3.135 4.75 3.135 0 Tcase (48-LQFP)
Typ.
3.3 5 3.3
Max.
3.465 5.25 3.465 +70 +90
Units
V V V C C
Power Supply Voltage
Ambient Operating Temperature Case Temperature
ESD: The STAC9752/9753 is an ESD (electrostatic discharge) sensitive device. The human body and test
equipment can accumulate and discharge electrostatic charges up to 4000 Volts without detection. Even though the STAC9752/9753 implements internal ESD protection circuitry, proper ESD precautions should be followed to avoid damaging the functionality or performance.
IDTTM
10
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2.1.3.
Power Consumption
Parameter Min Typ Max Digital Supply Current + 3.3V Digital 30 Analog Supply Current (at Reset state) + 5V Analog 35 + 3.3V Analog 35 Power Down Status (individually asserted) - All PR measurements taken while unmuted. +5V Analog Supply Current 50 All paths unmuted +3.3V Analog Supply Current 44 +3.3V Digital Supply Current 33 +5V Analog Supply Current 42 PR0 +3.3V Analog Supply Current 39 +3.3V Digital Supply Current 22 +5V Analog Supply Current 41 PR1 +3.3V Analog Supply Current 38 +3.3V Digital Supply Current 28 +5V Analog Supply Current 32 PR2 +3.3V Analog Supply Current 29 +3.3V Digital Supply Current 12 +5V Analog Supply Current 23 PR3 +3.3V Analog Supply Current 19 +3.3V Digital Supply Current 12 +5V Analog Supply Current 50 PR4 +3.3V Analog Supply Current 44 +3.3V Digital Supply Current 0.2 +5V Analog Supply Current 50 PR5 +3.3V Analog Supply Current 44 +3.3V Digital Supply Current 12 +5V Analog Supply Current 38 PR6 +3.3V Analog Supply Current 36 +3.3V Digital Supply Current 33 +5V Analog Supply Current 35 PR0 & PR1 +3.3V Analog Supply Current 35 +3.3V Digital Supply Current 12 +5V Analog Supply Current 5 PR0, PR1, PR2, PR6 +3.3V Analog Supply Current 5 +3.3V Digital Supply Current 12 +5V Analog Supply Current 0.6 PR0, PR1, PR2, PR3, PR6 +3.3V Analog Supply Current 0.6 +3.3V Digital Supply Current 12 Unit mA mA mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
IDTTM
11
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2.1.4.
AC-Link Static Digital Specifications
(T ambient = 25 C, DVdd = 3.3V 5%, AVss=DVss=0V)
Symbol Vin Vil Vih Voh Vol Min -0.30 0.65 x DVdd 0.90 x DVdd -10 -10 -10 -10 Typ 4 18 Max DVdd + 0.30 0.35 x DVdd 0.1 x DVdd 10 10 100 10 Unit V V V V V A A A A mA mA
Parameter Input voltage range Low level input range High level input voltage High level output voltage Low level output voltage Input leakage current (AC-Link inputs) Output leakage current (Hi-Z AC-Link outputs) BIT_CLK (primary mode) Output leakage current BIT_CLK (secondary mode) Output leakage current Output buffer drive current BIT_CLK/SPDIF Output drive current
Note: Due to an internal pulldown resistor, the BIT_CLK pin will exhibit less than 100 A of leakage current when the CODEC is configured as primary. This pin meets the +/- 10 A leakage specification when configured as secondary.
2.1.5.
STAC9752 5 V Analog Performance Characteristics
(T ambient = 25 C, AVdd = 5.0 V 5%, DVdd = 3.3 V 5%, AVss=DVss=0 V; 1 KHz input sine wave; Sample Frequency = 48 KHz; 0 dB = 1 Vrms, with a 10 K, 50 pF load, Testbench Characterization BW: 20 Hz to 20 KHz, 0 dB settings on all gain stages)
Parameter Full Scale Input Voltage: All Analog Inputs except Microphone Microphone Inputs (Note 1) Full Scale Output: Line Output PCM (DAC) to LINE_OUT MONO_OUT HEADPHONE_OUT (32 load) per channel (peak) Dynamic Range: -60dB signal level (Note 2) CD to LINE_OUT LINE / AUX / VIDEO to LINE_OUT PCM (DAC) to LINE_OUT PCM (DAC) in BYPASS Mode to LINE_OUT LINE_IN to A/D (1 VRMS Input Referenced) LINE_IN to HEADPHONE_OUT Analog Frequency Response (Note 3) Total Harmonic Distortion + Noise (-3dB): (Note 4) CD to LINE_OUT Other to LINE_OUT PCM (DAC) to LINE_OUT (full scale) PCM (DAC) in BYPASS Mode to LINE_OUT LINE_IN to A/D (-3dBV input Level)
Min 80 80 10 -
Typ 1.00 0.03 1.00 1.00 1.00 50 90 90 87 88 90 90 -85 -87 -83 -86 -85
Max 30,000 -
Unit Vrms Vrms Vrms Vrms Vrms mW dB dB dB dB dB dB Hz dB dB dB dB dB
IDTTM
12
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Parameter HEADPHONE_OUT (32 load) HEADPHONE_OUT (10 K load) SNR (idle channel) (Note 5) DAC to LINE_OUT DAC in BYPASS Mode LINE / AUX / VIDEO to LINE_OUT LINE_IN to A/D with High Pass Filter enabled A/D & D/A Digital Filter Pass Band (Note 6) A/D & D/A Digital Filter Transition Band A/D & D/A Digital Filter Stop Band A/D & D/A Digital Filter Stop Band Rejection (Note 7) DAC Out-of-Band Rejection (Note 8) Group Delay (48 KHz sample rate) Power Supply Rejection Ratio (1 KHz) Power Supply Rejection Ratio (20 KHz) Any Analog Input to LINE_OUT Crosstalk (10 KHz Signal Frequency) Any Analog Input to LINE_OUT Crosstalk (1 KHz Signal Frequency) Spurious Tone Rejection Attenuation, Gain Step Size Input Impedance Input Capacitance VREFout VREF Interchannel Gain Mismatch ADC Interchannel Gain Mismatch DAC Gain Drift DAC Offset Voltage Deviation from Linear Phase LINE_OUT / MONO_OUT Load Resistance LINE_OUT / MONO_OUT Load Capacitance HEADPHONE_OUT Load Resistance HEADPHONE_OUT Load Capacitance Mute Attenuation PLL lock time PLL 24.576 MHz clock jitter PLL frequency multiplication tolerance PLL bit clock jitter Note: 1. 2. 3. 4. 5.
Min 80 20 19,200 28,800 -100 -55 10 90 -
Typ -68 -81 90 92 90 92 -70 -40 -80 -100 -100 1.5 50 15 0.5 X AVdd 0.45X AVdd 100 10 32 96 100 -
Max 19,200 28,800 1 0.5 0.5 20 1 50 100 200 750 12.5 750
Unit dB dB dB dB dB dB Hz Hz Hz dB dB ms dB dB dB dB dB dB
K
pF V V dB dB ppm/C mV degrees K pF
pF dB sec psec ppm psec
With +30dB Boost on, 1.00 Vrms with Boost off. Ratio of Full Scale signal to noise output with -60dB signal, measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. 1dB limits for Line Output & 0 dB gain, at -20dBV Ratio of Full Scale signal to THD+N output with -3dB signal, measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. 48 KHz Sample Frequency Ratio of Full Scale signal to idle channel noise output is measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. (AES17-1991 Idle Channel Noise or EIAJ CP-307 Signal-to-noise Ratio).
IDTTM
13
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
6. 7. 8.
Peak-to-Peak Ripple over Passband meets 0.25dB limits, 48 KHz Sample Frequency. Stop Band rejection determines filter requirements. Out-of-Band rejection determines audible noise. The integrated Out-of-Band noise generated by the DAC process, during normal PCM audio playback, over a bandwidth 28.8 to 100 KHz, with respect to a 1 Vrms DAC output.
2.1.6.
STAC9753 3.3V Analog Performance Characteristics
(T ambient = 25 C, AVdd = DVdd = 3.3 V 5%, AVss=DVss=0 V; 1 KHz input sine wave; Sample Frequency = 48 KHz; 0 dB = 1 Vrms, with a 10 K, 50 pF load, Testbench Characterization BW: 20 Hz to 20 KHz, 0 dB settings on all gain stages)
Parameter Full Scale Input Voltage: All Analog Inputs except Microphone Microphone Inputs (Note 1) Full Scale Output: Line Output PCM (DAC) to LINE_OUT MONO_OUT HEADPHONE_OUT (32 load) per channel (peak) Dynamic Range: -60dB signal level (Note 2) CD to LINE_OUT LINE / AUX / VIDEO to LINE_OUT PCM (DAC) to LINE_OUT PCM (DAC) in BYPASS Mode to LINE_OUT LINE_IN to A/D LINE_IN to HEADPHONE_OUT Analog Frequency Response (Note 3) Total Harmonic Distortion + Noise (-3dB): (Note 4) CD to LINE_OUT LINE / AUX / VIDEO to LINE_OUT PCM (DAC) to LINE_OUT (full scale) PCM (DAC) in BYPASS Mode to LINE_OUT LINE_IN to A/D (-3dBV input Level) HEADPHONE_OUT (32 load) HEADPHONE_OUT (10 k load) SNR (idle channel) (Note 5) DAC to LINE_OUT DAC in BYPASS Mode LINE / AUX / VIDEO to LINE_OUT LINE_IN to A/D with High Pass Filter enabled A/D & D/A Digital Filter Pass Band (Note 6) A/D & D/A Digital Filter Transition Band A/D & D/A Digital Filter Stop Band A/D & D/A Digital Filter Stop Band Rejection (Note 7) DAC Out-of-Band Rejection (Note 8) Group Delay (48 KHz sample rate) Power Supply Rejection Ratio (1 KHz)
Min 75 75 10 75 20 19,200 28,800 -100 -55 -
Typ 1.00 0.03 0.5 0.5 0.5 12.5 85 85 82 83 85 85 -85 -85 -81 -84 -85 -68 -77 85 87 86 88 -70
Max 30,000 19,200 28,800 1 -
Unit Vrms Vrms Vrms Vrms Vrms mW dB dB dB dB dB dB Hz dB dB dB dB dB dB dB dB dB dB dB Hz Hz Hz dB dB ms dB
IDTTM
14
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Parameter Power Supply Rejection Ratio (20 KHz) Any Analog Input to LINE_OUT Crosstalk (10 KHz Signal Frequency) Any Analog Input to LINE_OUT Crosstalk (1 KHz Signal Frequency) Spurious Tone Rejection Attenuation, Gain Step Size Input Impedance Input Capacitance VREFout VREF Interchannel Gain Mismatch ADC Interchannel Gain Mismatch DAC Gain Drift DAC Offset Voltage Deviation from Linear Phase LINE_OUT/MONO_OUT Load Resistance LINE_OUT/MONO_OUT Load Capacitance HEADPHONE_OUT Load Resistance HEADPHONE_OUT Load Capacitance Mute Attenuation PLL lock time PLL 24.576 MHz clock jitter PLL frequency multiplication tolerance Note: 1. 2. 3. 4. 5. 6. 7. 8.
Min 10 -
Typ -40 -80 -100 -100 1.5 50 15 0.5 X AVdd 0.41X AVdd 100 10 32 96 100 -
Max 0.5 0.5 20 1 50 100 200 750 12.5
Unit dB dB dB dB dB K pF V V dB dB ppm/C mV degrees K pF
pF dB sec psec ppm
With +30 dB Boost on, 1.00 Vrms with Boost off. Ratio of Full Scale signal to noise output with -60dB signal, measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. 1dB limits for Line Output & 0 dB gain, at -20dBV Ratio of Full Scale signal to THD+N output with -3dB signal, measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. 48 KHz Sample Frequency Ratio of Full Scale signal to idle channel noise output is measured "A-weighted" over a 20 Hz to a 20 KHz bandwidth. (AES17-1991 Idle Channel Noise or EIAJ CP-307 Signal-to-noise Ratio). Peak-to-Peak Ripple over Passband meets 0.25dB limits, 48 KHz Sample Frequency. Stop Band rejection determines filter requirements. Out-of-Band rejection determines audible noise. The integrated Out-of-Band noise generated by the DAC process, during normal PCM audio playback, over a bandwidth 28.8 to 100 KHz, with respect to a 1 Vrms DAC output.
IDTTM
15
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2.2.
AC Timing Characteristics
(T ambient = 25 C, AVdd = 3.3 V or 5 V 5%, DVdd = 3.3 V 5%, AVss=DVss=0 V; 75 pF external load for BIT_CLK and 60 pF external load for SDATA_IN)
2.2.1.
Cold Reset
Figure 2. Cold Reset Timing
Trst2clk Tres_low RESET# Ttri2actv BIT_CLK Ttri2actv SDATA_IN
Parameter RESET# active low pulse width RESET# inactive to SDATA_IN or BIT_CLK active delay RESET# inactive to BIT_CLK startup delay BIT_CLK active to RESET# asserted (Not shown in diagram)
Symbol Tres_low Tri2actv Trst2clk Tclk2rst
Min 1.0 0.01628 0.416
Typ -
Max 25 400 -
Units s ns s s
Note: BIT_CLK and SDATA_IN are in a high impedance state during reset.
2.2.2.
Warm Reset
Figure 3. Warm Reset Timing
Tsync_high Tsync_2clk SYNC
BIT_CLK
Parameter SYNC active high pulse width SYNC inactive to BIT_CLK startup delay
Symbol Tsync_high Tsync2clk
Min 1.0 162.8
Typ 1.3 -
Max -
Units s ns
IDTTM
16
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2.2.3.
Clocks
Figure 4. Clocks Timing
Tclk_low BIT_CLK Tclk_high Tclk_period Tsync_low Tsync_high SYNC Tsync_period
Parameter BIT_CLK frequency BIT_CLK period BIT_CLK output jitter BLT_CLK high pulse width (Note 1) BIT_CLK low pulse width (Note 1) SYNC frequency SYNC period SYNC high pulse width SYNC low pulse width Note: 1. Worst case duty cycle restricted to 45/55.
Symbol Tclk_period Tclk_high Tclk_low Tsync_period Tsync_high Tsync_low
Min 36 36 -
Typ 12.288 81.4 750 40.7 40.7 48.0 20.8 1.3 19.5
Max 45 45 -
Units MHz ns ps ns ns KHz s s s
2.2.4.
STAC9752/9753 Crystal Elimination Circuit and Clock Frequencies
The STAC9752/9753 supports several clock frequency inputs as described in the following table. In general, when a 24.576 MHz crystal is not used, the XTALOUT pin should be tied to ground. This short to ground configures the part into an alternate clock mode and enables an on board PLL. CODEC Modes: P = The STAC9752/9753 as a Primary CODEC. S = The STAC9752/9753 as a Secondary CODEC.
Table 1. Clock Mode Configuration XTL_OUT Pin Config CID1 Pin Config CID0 Pin Config XTAL float float XTAL or open float pulldown XTAL or open pulldown float XTAL or open pulldown pulldown short to ground float float short to ground float pulldown short to ground pulldown float short to ground pulldown pulldown Clock Source Input 24.576 MHz xtal 12.288 MHz bit clk 12.288 MHz bit clk 12.288 MHz bit clk 14.31818 MHz source 27 MHz source 48 MHz source 24.576 MHz source CODEC Mode CODEC ID P 0 S 1 S 2 S 3 P 0 P 0 P 0 P 0
IDTTM
17
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Table 2. Common Clocks and Sources Clock Source XTAL BIT_CLK VGA Digital Video USB Clock Frequency 24.576 MHz 12.288 MHz 14.31818 MHz 27 MHz 48 MHz
2.2.5.
Data Setup and Hold
(50 pF external load)
Figure 5. Data Setup and Hold Timing
tco BIT_CLK SDATA_OUT SDATA_IN SYNC V ih
V oh V ol
T setup V il
T hold
Parameter Symbol Min Typ Setup to falling edge of BIT_CLK Tsetup 10 Hold from falling edge of BIT_CLK Thold 10 Output Valid Data from rising edge of BIT_CLK tco Note: Setup and hold time parameters for SDATA_IN are with respect to the AC'97 controller. Max 15 Units ns ns ns
2.2.6.
Signal Rise and Fall Times
(BIT_CLK: 75 pF external load; from 10% to 90% of Vdd) (SDATA_IN: 60 pF external load; from 10% to 90% of Vdd)
Figure 6. Signal Rise and Fall Times Timing
BIT_CLK Triseclk Tfallclk
SDATA_IN Trisedin Tfalldin
Parameter BIT_CLK rise time BIT_CLK fall time SDATA_IN rise time SDATA_IN fall time
Symbol Triseclk Tfallclk Trisedin Tfalldin
Min -
Typ -
Max 6 6 6 6
Units ns ns ns ns
IDTTM
18
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
2.2.7.
AC-Link Low Power Mode Timing
Figure 7. AC-Link Low Power Mode Timing
Slot 1 Slot 2
SYNC BIT_CLK SDATA_OUT SDATA_IN
Write to 0x20
Data PR4
Don't care Ts2_pdown
Note: BIT_CLK not to scale
Parameter End of Slot 2 to BIT_CLK, SDATA_IN low
Symbol Ts2_pdown
Min -
Typ -
Max 1.0
Units s
2.2.8.
ATE Test Mode
Figure 8. ATE Test Mode Timing
RESET# SDATA_OUT
Tsetup2rst
SDATA_IN, BIT_CLK
Toff
Hi-Z
Parameter Setup to trailing edge of RESET# (also applies to SYNC) Rising edge of RESET# to Hi-Z delay Note: 1. 2. 3.
Symbol Tsetup2rst Toff
Min 15.0 -
Typ -
Max 25.0
Units ns ns
All AC-Link signals are normally low through the trailing edge of RESET#. Bringing SDATA_OUT high for the trailing edge of RESET# causes the STAC9752/9753 AC-Link outputs to go high-impedance which is suitable for ATE in circuit testing. Once the test mode has been entered, the STAC9752/9753 must be issued another RESET# with all AC-Link signals low to return to the normal operating mode. The pound sign (#) appended to the end of a signal name denotes that the signal is active low.
IDTTM
19
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
3. TYPICAL CONNECTION DIAGRAM
Figure 9. Typical Connection Diagram
*OPTIONAL
2 *
Ferrite Bead 3.3V 5%
0.1 F
1 F
0.1 F
0.1 F
1 F
0.1 F
(Near Clk source) CLOCK_IN*
OPTIONAL
25 AVdd1
38 AVdd2
1 DVdd1
9 DVdd2 XTL_IN 2 27 pF
24.576 MHz
*Add resistive divider when using 5V clock.
12 PC_BEEP 13 PHONE 14 AUX_L 15 AUX_R 16 VIDEO_L RESET# 17 VIDEO_R 18 CD_L 19 CD_GND 20 CD_R VREF 21 MIC1 22 MIC2 23 LINE_IN_L 24 LINE_IN_R GPIO1 32 CAP2 GPIO0 LINE_OUT_L LINE_OUT_R 820 pF 29 AFILT1 MONO_OUT HP_OUT_L AFILT2 HP_COMM 40 NC NC NC SPDIF 31 33 34 48 44 43 35 36 37 39 CID1 EAPD CID0 45 46 47 28 27 SDATA_IN SYNC SDATA_OUT BIT_CLK 5 6 8 10 11 XTL_OUT 3 0
27 pF
22
EMI Filter
27 pF TUNE TO LAYOUT
STAC9753
VREFOUT
1 F
1 F*
*OPTIONAL
0.1 F
820 pF
30
HP_COMM should be tied to ground at the headphone pin.
AVss1 26
AVss2 42
DVss1 4
DVss2 7
HP_OUT_R
41
*Terminate ground plane as close to codec as possible
Analog Ground
Digital Ground
Note: Pin 48: To Enable SPDIF, use an 1 K to10 K external pulldown. To Disable SPDIF, use an 1 K to10 K external pullup. Do NOT leave Pin 48 floating. Note: The CD_GND signal is an AC signal return for the two CD input channels. It is normally biased at about 2.5 V. The name of the pin in the AC'97 specification is CD_GND, and this has confused many designers. It should not have any DC path to GND. Connecting the CD_GND signal directly to ground will change the internal bias of the entire CODEC, and cause serious distortion. If there is no analog CD input, then this pin can be No-Connect.
IDTTM
20
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
3.1.
Split Independent Power Supply Operation
In PC applications, one power supply input to the STAC9752/9753 may be derived from a supply regulator and the other directly from the PCI power supply bus. When power is applied to the PC, the regulated supply input to the IC will be applied some time delay after the PCI power supply. Without proper on-chip partitioning of the analog and digital circuitry, some manufacturer's CODECs would be subject to on-chip SCR type latch-up. IDT's STAC9752/9753 specifically allows power-up sequencing delays between the analog (AVddx) and digital (VDddx) supply pins. These two power supplies can power-up independently and at different rates with no adverse effects to the CODEC. The IC is designed with independent analog and digital circuitry that prevents on-chip SCR type latch-up. However, the STAC9752/9753 is not designed to operate for extended periods with only the analog supply active.
IDTTM
21
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Figure 10. Split Independent Power Supply Operation
3.3V or 5V 5% *Suggested 3.3V 5%
0.1 F
1 F
0.1 F
0.1 F
10 F
0.1 F (Near Clk source)
25 AVdd1
38 AVdd2
1 DVdd1
9 DVdd2 XTL_IN
OPTIONAL
CLOCK_IN* 27 pF
24.576 MHz *Add resistive divider when using 5V clock.
12 PC_BEEP 13 PHONE 14 AUX_L 15 AUX_R 16 VIDEO_L 17 VIDEO_R 18 CD_L 19 CD_GND 20 CD_R 21 MIC1 22 MIC2 23 LINE_IN_L 24 LINE_IN_R GPIO1 32 0.1 F CAP2 GPIO0 LINE_OUT_L LINE_OUT_R 820 pF 29 AFILT1 MONO_OUT HP_OUT_L AFILT2 HP_COMM AVss1 26 AVss2 42 DVss1 4 DVss2 7 HP_OUT_R 40 41 NC NC NC SPDIF 31 33 34 48 44 43 35 36 37 39 CID1 RESET# CID0 SDATA_OUT BIT_CLK SDATA_IN SYNC 5 6 8 10 11 45 46 47 28 27 XTL_OUT 0
27 pF
22
EMI Filter 27 pF
TUNE TO LAYOUT
STAC9752 (5V Analog) or STAC9753 (3.3V Analog)
EAPD VREFOUT VREF
1 F
1 F*
*OPTIONAL
820 pF
30
HP_COMM should be tied to ground at the headphone pin.
*Terminate ground plane as close to codec as possible
Analog Ground
Digital Ground
Note: Pin 48: To Enable SPDIF, use an 1 K to 10 K external pulldown resistor. To Disable SPDIF, use an 1 K to 10 K external pullup resistor. Do NOT leave Pin 48 floating.
IDTTM
22
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
4. CONTROLLER, CODEC AND AC-LINK
This section describes the physical and high-level functional aspects of the AC`97 Controller to CODEC interface, referred to as AC-Link.
4.1.
AC-Link Physical Interface
The STAC9752/9753 communicates with its companion Digital Controller via the AC-Link digital serial interface. AC-Link has been defined to support connections between a single Controller and up to four CODECs. All digital audio, modem and handset data streams, as well as all control (command/status) information are communicated over this serial interconnect, which consists of a clock (BIT_CLK), frame synchronization (SYNC), serial data in (SDATA_IN), serial data out (SDATA_OUT) and a reset (RESET#).
4.2.
Controller to Single CODEC
The simplest and most common AC`97 system configuration is a point-to-point AC-Link connection between Controller and the STAC9752/9753, as illustrated in Figure 11.
Figure 11. AC-Link to its Companion Controller
SYNC BIT_CLK Digital DC'97 Controller SDATA_OUT SDATA_IN RESET# AC'97 Codec
XTAL_IN
XTAL_OUT
A primary CODEC may act as either a source or a consumer of the bit clock (BIT_CLK), depending on the configuration. While RESET# is asserted, if a clock is present at the BIT_CLK pin for at least five cycles before RESET# is de-asserted, then the CODEC is a consumer of BIT_CLK, and must not drive BIT_CLK when RESET# is de-asserted. The clock is being provided by other than the primary CODEC, for instance by the controller or an independent clock chip. In this case the primary CODEC must act as a consumer of the BIT_CLK signal as if it were a secondary CODEC. This clock source detection must be done each time the RESET# line is asserted. In the case of a warm reset, where the clock is halted but RESET# is not asserted, the CODEC must remember the clock source, and not begin generating the clock on the assertion of SYNC, if the CODEC had previously determined that it was a consumer of BIT_CLK.
IDTTM
23
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Figure 12. CODEC Clock Source Detection
AC'97 Clock Source Detection
RESET# Signal Asserted
Yes
BIT_CLK Toggling?
12.288MHz signal on BIT_CLK is being generated externally; codec uses this signal as the clock.
No
After RESET# Signal Deasserted
24.576MHz crystal present?
Yes
24.576MHz Crystal on XTL_IN and XTL_OUT used by codec to generate clock on BIT_CLK
No
24.576MHz oscillator present?
Yes
24.576 MHz signal on XTL_IN used by codec to generate 12.288MHz clock on BIT_CLK
No
14.318MHz oscillator presnent?
Yes
14.318 MHz signal on XTL_IN used by codec to generate 12.288MHz clock on BIT_CLK
No
Error condition - no clock source present
The STAC9752/9753 uses the XTAL_OUT Pin (Pin 3) and the CID0 and CID1 pins (Pins 45 & 46) to determine its alternate clock frequencies. See section 2.2.4: page17 for additional information on Crystal Elimination and for supported clock frequencies. If, when the RESET# signal has been de-asserted, the CODEC has not detected a signal on BIT_CLK as defined in the previous paragraph, then the AC`97 CODEC derives its clock internally from an externally attached 24.576 MHz crystal or oscillator, or optionally from an external 14.31 MHz oscillator, and drives a buffered 12.288 MHz clock to its digital companion Controller over AC-Link under the signal name "BIT_CLK". Clock jitter at the DACs and ADCs is a fundamental impediment to high quality output, and the internally generated clock will provide AC`97 with a clean clock that is independent of the physical proximity of AC`97's companion Digital Controller (henceforth referred to as "the Controller"). If BIT_CLK begins toggling while the RESET# signal is still asserted, the clock is being provided by other than the primary CODEC, for instance by the controller or by a discrete clock source. In this case, the primary CODEC must act as a consumer of the BIT_CLK signal as if it were a secondary CODEC. The beginning of all audio sample packets, or Audio Frames, transferred over AC-Link is synchronized to the rising edge of the SYNC signal. SYNC is driven by the Controller. The Controller gener-
IDTTM
24
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
ates SYNC by dividing BIT_CLK by 256 and applying some conditioning to tailor its duty cycle. This yields a 48 KHz SYNC signal whose period defines an audio frame. Data is transitioned on AC-Link on every rising edge of BIT_CLK, and subsequently sampled by the receiving device on the receiving side of AC-Link on each immediately following falling edge of BIT_CLK.
4.3.
Controller to Multiple CODECs
Several vendor specific methods of supporting multiple CODEC configurations on AC-Link have been implemented or proposed, including CODECs with selective AC-Link pass-through and controllers with duplicate AC-Links. Potential implementations include: * * * 6-channel audio using 3 x 2-channel CODECs Separate CODECs for independent audio and modem AFE Docking stations, where one CODEC is in the laptop and another is in the dock
This specification defines support for up to four CODECs on the AC-Link. By definition there can be one Primary CODEC (ID 00) and up to three Secondary CODECs (IDs 01,10, and 11). The CODEC ID functions as a chip select. Secondary devices therefore have completely orthogonal register sets; each is individually accessible and they do not share registers. Multiple CODEC AC-Link implementations must run off a common BIT_CLK. They can potentially save Controller pins by sharing SYNC, SDATA_OUT, and RESET# from the AC`97 Digital Controller. Each device requires its own SDATA_IN pin back to the Controller. This prevents contention of multiple devices on one serial input line. Support for multiple CODEC operation necessitates a specially designed Controller. An AC`97 Digital Controller that supports multiple CODEC configurations implements multiple SDATA_IN inputs, supporting one Primary CODEC and up to three Secondary CODECs.
4.3.1.
Primary CODEC Addressing
Primary AC`97 CODECs respond to register read and write commands directed to CODEC ID 00 (see Section 10 for details of the Primary and Secondary CODEC addressing protocols). Primary devices must be configurable (by hardwiring, strap pin(s), or other methods) as CODEC ID 00, and reflect this in the two-bit CODEC ID field(s) of the Extended Audio and/or Extended Modem ID Register(s). The Primary CODEC may either drive the BIT_CLK signal or consume a BIT_CLK signal provided by the digital controller or other clock generator.
4.3.2.
Secondary CODEC Addressing
Secondary AC`97 CODECs respond to register read and write commands directed to CODEC IDs 01, 10, or 11. Secondary devices must be configurable (via hardwiring, strap pin(s), or other methods) as CODEC IDs 01, 10, or 11 in the two-bit field(s) of the Extended Audio and/or Extended Modem ID Register(s). CODECs configured as Secondary must power up with the BIT_CLK pin configured as an input. Using the provided BIT_CLK signal is necessary to ensure that everything on the AC-Link is synchronous. BIT_CLK is the clock source (multiplied by 2 so that the internal rate is 24.576 MHz).
IDTTM
25
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
4.3.3.
CODEC ID Strapping
Audio CODECs in the 48-pin package use pins 45 and 46 (defined as ID0# and ID1#) as strapping (i.e. configuration) pins to configure the CODEC ID. The ID0# and ID1# strapping bits adopt inverted polarity and default to 00 = Primary (via a weak internal pullup) when left floating. This eliminates the need for external resistors for CODECs configured as Primary, and maintains backward compatibility with existing layouts that treat pins 45 and 46 as "no connect" or cap to ground. Pulldowns are typically 0-10 k and connected to Digital (not Analog) Ground.
Table 3. Recommended CODEC ID strapping CID1 (pin 46) NC NC pulldown pulldown CID0 (pin 45) NC pulldown NC pulldown Configuration Primary ID = 00 Secondary ID = 01 Secondary ID = 10 Secondary ID = 11
4.4.
Clocking for Multiple CODEC Implementations
To keep the system synchronous, all Primary and Secondary CODEC clocking must be derived from the same clock source, so all CODECs are operating on the same time base. In addition, all AC-Link protocol timing must be based on the BIT_CLK signal, to ensure that everything on the AC-Link will be synchronous. The following are potential 24.576 MHz clock options available to a Secondary CODEC: * * * Using an external 24.576 MHz signal source (external oscillator or AC`97 Digital Controller). Using the Primary's XTAL_OUT. Using the Primary's BIT_CLK output to derive 24.576 MHz. See section 2.2.4: page17 for supported clock frequencies and configurations.
4.5.
STAC9752/9753 as a Primary CODEC
Primary devices are required to support correctly any of the following clocking options: * * * * 24.576 MHz crystal attached to XTAL_IN and XTAL_OUT. 24.576 MHz external oscillator provided to XTAL_IN. 12.288 MHz oscillator provided to the BIT_CLK input. 14.318 MHz external oscillator provided to XTAL_IN. See section 2.2.4: page17 for supported clock frequencies and configurations.
The Primary device may also, optionally, support the following clocking option:
4.5.1.
STAC9752/9753 as a Secondary CODEC
Secondary devices are required to function correctly using one or more of the following clocking options: * * 24.576 MHz external oscillator provided to XTAL_IN (synchronous and in phase with Primary 24.576 MHz clock). BIT_CLK input provided by the Primary. In this mode, a clock at XTAL_IN (Pin 2) is ignored. See section 2.2.4: page17 for supported clock frequencies and configurations.
IDTTM
26
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
4.6.
AC-Link Power Management
Powering down the AC-Link
The AC-Link signals can be placed in a low power mode. When the AC`97's Powerdown Register (26h) is programmed to the appropriate value, both BIT_CLK and SDATA_IN are brought to and held at a logic low voltage level. After signaling a reset to AC`97, the AC`97 Controller should not attempt to play or capture audio data until it has sampled a CODEC Ready indication from AC`97.
Figure 13. STAC9752/9753 Powerdown Timing
4.6.1.
SYNC BIT_CLK SDATA_OUT SDATA_IN
Note: BIT_CLK not to scale
slot 2 per frame
TAG
Write to 0x20
DATA PR4
slot 2 per frame
TAG
BIT_CLK and SDATA_IN are transitioned low immediately following decode of the write to the Powerdown Register (26h) with PR4. When the AC`97 Controller driver is at the point where it is ready to program the AC-Link into its low power mode, slots 1 and 2 are assumed to be the only valid stream in the audio output frame. After programming the AC`97 device to this low power, halted mode, the AC`97 Controller is required to drive and keep SYNC and SDATA_OUT low. Once the AC`97 CODEC has been instructed to halt BIT_CLK, a special "wake-up" protocol must be used to bring the AC-Link to the active mode since normal audio output and input frames can not be communicated in the absence of BIT_CLK.
4.6.2.
Waking up the AC-Link
There are two methods for bringing the AC-Link out of a low power, halted mode. Regardless of the method, it is the AC`97 Controller that performs the wake-up task.
4.6.2.1.
Controller Initiates Wake-up
The AC-Link protocol provides for a "Cold AC`97 Reset", and a "Warm AC`97 Reset". The current powerdown state ultimately dictates which form of AC`97 reset is appropriate. Unless a "cold" or "register" reset (a write to the Reset Register) is performed, wherein the AC`97 registers are initialized to their default values, registers are required to keep state during all powerdown modes. Once powered down, re-activation of the AC-Link via re-assertion of the SYNC signal must not occur for a minimum of four audio frame times following the frame in which the powerdown was triggered. When AC-Link powers up, the CODEC indicates readiness via the CODEC Ready bit (input slot 0, bit 15).
IDTTM
27
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
4.6.2.2.
CODEC Initiates Wake-up
The STAC9752/9753 (running off Vaux) can trigger a wake event (PME#) by transitioning SDATA_IN from low to high and holding it high until either a warm or cold reset is observed on the AC-Link. This functionality is typically implemented in modem CODECs that detect ring, Caller ID, etc. Note that when the AC-Link is either programmed to the low power mode or shut off completely, BIT_CLK may stop if the primary CODEC is supplying the clock, which shuts down the AC-Link clock to the Secondary CODEC1. In order for a Secondary CODEC to react to an external event (phone ringing), it must support an independent clocking scheme for any PME# associated logic that must be kept alive when the AC-Link is down. This includes logic to asynchronously drive SDATA_IN to a logic high-level which signals a wake request to the AC`97 Digital Controller.
4.6.3.
CODEC Reset
There are three types of AC`97 reset: * * * a cold reset where all AC`97 logic (most registers included) is initialized to its default state a warm reset where the contents of the AC`97 register set are left unaltered a register reset which only initializes the AC`97 registers to their default states
4.6.3.1.
Cold AC`97 Reset
A cold reset is achieved by asserting RESET# (low) for the minimum specified time, then subsequently de-asserting RESET# (high). BIT_CLK and SDATA_IN will be activated, or re-activated as the case may be, and all AC`97 control registers will be initialized to their default power on reset values. RESET# is an asynchronous AC`97 input.
4.6.3.2.
Warm AC`97 Reset
A warm AC`97 reset will re-activate the AC-Link without altering the current AC`97 register values. A warm reset is signaled by driving SYNC high for a minimum of 1 s in the absence of BIT_CLK. Within normal audio frames, SYNC is a synchronous AC`97 input. However, in the absence of BIT_CLK, SYNC is treated as an asynchronous input used in the generation of a warm reset to AC`97. AC`97 MUST NOT respond with the activation of BIT_CLK until SYNC has been sampled low again by AC`97. This will preclude the false detection of a new audio frame.
4.6.3.3.
Register AC`97 Reset
Most registers in an AC device can be restored to their default values by performing a write (any value) to the Reset Register, 00h.
1.
Secondary CODECs always configure the BIT_CLK pin as an input.
IDTTM
28
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5. AC-LINK DIGITAL INTERFACE 5.1. Overview
AC-Link is the 5 pin digital serial interface that links the AC`97 CODEC to the Controller. The AC-Link protocol is a bi-directional, fixed clock rate, serial digital stream. AC-Link handles multiple input and output PCM audio streams, as well as control register accesses employing a time division multiplexed (TDM) scheme that divides each audio frame into 12 outgoing and 12 incoming data streams, each with 20-bit sample resolution. The STAC9752/9753 DACs, ADCs, and SPDIF can be assigned to slots 3&4, 6&9, 7&8 or 10&11.
Figure 14. Bi-directional AC-Link Frame with Slot assignments
SLOTS SYNC OUTGOING STREAMS
(Controller output - SDATA_OUT)
0
1
2
3
4
5
6
7
8
9
10
11
12
TAG
CMD ADDR
CMD DATA
PCM LEFT
PCM RT
NA
PCM CTR
PCM LSURR
PCM RSURR
PCM LFE
SPDIF
SPDIF
IO CTRL
TAG
INCOMING STREAMS
(codec output - SDATA_IN)
STATUS ADDR
STATUS DATA
PCM LEFT
PCM RT
LINE1 ADC
PCM MIC
Vendor RSVD
Vendor RSVD
Vendor RSVD
LINE2 ADC
HSET ADC
IO STATUS
TAG PHASE
DATA PHASE
Slot 12 can be used by the AC'97 Codec if a Modem Codec is not present.
Table 4. AC-Link output slots (transmitted from the Controller) Slot 0 1 2 3, 4 5 Name SDATA_OUT TAG Control CMD ADDR write port Control DATA write port PCM L&R DAC playback Modem Line 1 DAC Description MSBs indicate which slots contain valid data; LSBs convey CODEC ID Read/write command bit plus 7-bit CODEC register address 16-bit command register write data 20-bit PCM data for Left and Right channels 16-bit modem data for modem Line 1 output
6, 7, 8, 9 PCM Center, Surround L&R, LFE 20-bit PCM data for Center, Surround L&R, LFE channels 10 Modem Line 2 DAC 16-bit modem data for modem Line 2 output 11 12 12 10-11 10-12 Modem handset DAC Modem I/O control CODEC IRQ SPDIF Out Double rate audio 16-bit modem data for modem Handset output GPIO write port for modem Control Can be used by CODEC if a modem CODEC is not present. Optional AC-Link bandwidth for SPDIF output Optional AC-Link bandwidth for 88.2 KHz or 96 KHz on L, C, R channels
IDTTM
29
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Table 5. The AC-Link input slots (transmitted from the CODEC) Slot 0 1 2 3, 4 5 6-11 12 Name SDATA_IN TAG STATUS ADDR read port STATUS DATA read port PCM L&R ADC record Modem Line 1 ADC PCM ADC Record GPIO Status Description MSBs indicate which slots contain valid data MSBs echo register address; LSBs indicate which slots request data 16-bit command register read data 20-bit PCM data from Left and Right inputs 16-bit modem data from modem Line1 input 20-bit PCM data - Alternative Slots for Input GPIO read port and interrupt status
5.2.
AC-Link Serial Interface Protocol
The AC`97 Controller signals synchronization of all AC-Link data transactions. The AC`97 CODEC, Controller, or external clock source drives the serial bit clock (BIT_CLK) onto AC-Link, which the AC`97 Controller then qualifies with a synchronization signal (SYNC) to construct audio frames. SYNC, fixed at 48 KHz, is derived by dividing down the serial bit clock (BIT_CLK). BIT_CLK, fixed at 12.288 MHz, provides the necessary clocking granularity to support 12 20-bit outgoing and incoming time slots. AC-Link serial data is transitioned on each rising edge of BIT_CLK. The receiver of AC-Link data (CODEC for outgoing data and Controller for incoming data) samples each serial bit on the falling edges of BIT_CLK. The AC-Link protocol provides for a special 16-bit time slot (Slot 0) wherein each bit conveys a valid tag for its corresponding time slot within the current audio frame. A 1 in a given bit position of slot 0 indicates that the corresponding time slot within the current audio frame has been assigned to a data stream, and contains valid data. If a slot is tagged invalid, it is the responsibility of the source of the data (AC`97 CODEC for the input stream, AC`97 Controller for the output stream), to stuff all bit positions with 0 during that slot's active time. SYNC remains high for a total duration of 16 BIT_CLKs at the beginning of each audio frame. The portion of the audio frame where SYNC is high is defined as the "Tag Phase". The remainder of the audio frame where SYNC is low is defined as the "Data Phase". Additionally, for power savings, all clock, sync, and data signals can be halted. This requires that an AC`97 CODEC be implemented as a static design to allow its register contents to remain intact when entering a power savings mode.
5.2.1.
AC-Link Variable Sample Rate Operation
The AC-Link serial interconnect defines a digital data and control pipe between the Controller and the CODEC. The AC-Link supports 12 20-bit slots at 48 KHz on SDATA_IN and SDATA_OUT. The time division multiplexed (TDM) "slot-based" architecture supports a per-slot valid tag infrastructure that the source of each slot's data sets or clears to indicate the validity of the slot data within the current audio frame. This tag infrastructure can be used to support transfers between Controller and CODEC at any sample rate.
5.2.2.
Variable Sample Rate Signaling Protocol
AC-Link's tag infrastructure imposes FIFO requirements on both sides of the AC-Link. For example, in passing a 44.1 KHz stream across the AC-Link, for every 480 audio output frames that are sent across, 441 of them must contain valid sample data. Does the AC`97 Digital Controller pass all 441 PCM samples followed by 39 invalid slots? Or does the AC`97 Digital Controller evenly interleave
IDTTM
30
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
valid and non-valid slots? Each possible method brings with it different FIFO requirements. To achieve interoperability between AC`97 Digital Controllers and CODECs designed by different manufacturers, it is necessary to standardize the scheme for at least one side of the AC-Link so that the FIFO requirements will be common to all designs. The CODEC side of the AC-Link is the focus of this standardization. The new standard approach calls for the addition of "on demand" slot request flags. These flags are passed from the CODEC to the AC`97 Digital Controller during every audio input frame. Each time the AC`97 Digital Controller sees one or more of the newly-defined slot request flags set active (low) in a given audio input frame, it knows that it must pass along the next PCM sample for the corresponding slot(s) in the AC-Link output frame that immediately follows. The VRA (Variable Rate Audio) bit in the Extended Audio Status and Control Register must be set to 1 to enable variable sample rate audio operation. Setting the VRA = 1 has two functions: 1. 2. Enables PCM DAC/ADC conversions at variable sample rates by write enabling Sample Rate Registers 2Ch through 34h. Enables the on demand CODEC-to-Controller signaling protocol using SLOTREQ bits that becomes necessary when a DAC's sample rate varies from the 48 KHz AC-Link serial frame rate.
The table below summarizes the behavior:
Table 6. VRA Behavior AC`97 Functionality SLOTREQ bits sample rate registers VRA = 0 always 0 (data each frame) forced to 48KHz VRA = 1 0 or 1 (data on demand) writable
Note: If more than one CODEC is being used with the SAME controller DMA engine, VRA should NOT be used.
For variable sample rate output, the CODEC examines its sample rate control registers, the state of its FIFOs, and the incoming SDATA_OUT tag bits at the beginning of each AC-Link output frame to determine which SLOTREQ bits to set active (low). SLOTREQ bits asserted during the current AC-Link input frame signal which active output slots require data from the AC`97 Digital Controller in the next audio output frame. An active output slot is defined as any slot supported by the CODEC that is not in a power-down state. For fixed 48KHz operation the SLOTREQ bits are always set active (low) and a sample is transferred in each frame. For variable sample rate input, the tag bit for each input slot indicates whether valid data is present or not. Thus, even in variable sample rate mode, the CODEC is always the master: for SDATA_IN (CODEC to Controller), the CODEC sets the TAG bit; for SDATA_OUT (Controller to CODEC), the CODEC sets the SLOTREQ bit and then checks for the TAG bit in the next frame. The VRM (Variable Rate Microphone Audio) bit in the Extended Audio Status and Control Register controls the optional MIC ADC input behavior in the same way that VRA = 1 controls the PCM ADC.
5.2.2.1.
SLOTREQ Behavior and Power Management
SLOTREQ bits for fixed rate, powered down, and all unsupported Slots should be driven low (zero) for maximum compatibility with the original AC'97 Component Specification. When a DAC channel is powered down, it disappears completely from the serial frame: output tag and slot are ignored, and the SLOTREQ bit is absent (forced to zero). When the Controller wants to power-down a channel, all it needs to do is:
IDTTM
31
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
1. 2. 1. 2.
Disable source of DAC samples in Controller Set PR bit for DAC channel in Registers 26h, 2Ah, or 3Eh Clear PR bit for DAC channel in Registers 26h, 2Ah, or 3Eh Enable source of DAC samples in Controller
When it wants to power up the channel, all it needs to do is:
5.2.3.
Primary and Secondary CODEC Register Addressing
The 2-bit CODEC ID field in the LSBs of Output Slot 0 is an addition to the original AC-Link protocol that enables an AC`97 Digital Controller to independently access Primary and Secondary CODEC registers. For Primary CODEC access, the AC`97 Digital Controller: 1. 2. 3. 4. 1. 2. 3. Sets the AC-Link Frame valid bit (Slot 0, bit 15) Validates the tag bits for Slot 1 and 2 Command Address and Data (Slot 0, bits 14 and 13) Sets a zero value (00) into the CODEC ID field (Slot 0, bits 1 and 0) Transmits the desired Primary CODEC Command Address and Command Data in Slots 1 and 2 Sets the AC-Link Frame valid bit (Slot 0, bit 15) Places a non-zero value (01, 10, or 11) into the CODEC ID field (Slot 0, bits 1 and 0) Transmits the desired Secondary CODEC Command Address and Command Data in Slots 1 and 2
For Secondary CODEC access, the AC`97 Digital Controller:
Secondary CODECs disregard the Command Address and Command Data (Slot 0, bits 14 and 13) tag bits. In a sense the Secondary CODEC ID field functions as an alternative Valid Command Address (for Secondary reads and writes) and Command Data (for Secondary writes) tag indicator. Secondary CODECs must monitor the Frame Valid bit, and ignore the frame (regardless of the state of the Secondary CODEC ID bits) if it is not valid. AC`97 Digital Controllers should set the frame valid bit for a frame with a Secondary register access, even if no other bits in the output tag slot except the Secondary CODEC ID bits are set.
5.3.
AC-Link Output Frame (SDATA_OUT)
The AC-Link output frame data streams correspond to the multiplexed bundles of all digital output data targeting AC`97's DAC inputs and control registers. As mentioned earlier, each AC-Link output frame supports up to 12 20-bit outgoing data time slots. Slot 0 is a special reserved time slot containing 16-bits which are used for AC-Link protocol infrastructure. Figure 15 illustrates the time slot based AC-Link protocol.
IDTTM
32
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Figure 15. AC-Link Audio Output Frame
Data Phase Tag Phase 20.8 uS (48 kHZ)
SYNC BIT_CLK SDATA_OUT
12.288 MHz
valid Frame
slot1
slot2
slot(12)
"0"
CID1 CID0
19
"0"
19
"0"
19
"0"
19
"0"
End of previous audio frame Time Slot "Valid" Bits ("1" = time slot contains valid PCM data) Slot 1 Slot 2 Slot 3 Slot 12
A new AC-Link output frame begins with a low to high transition of SYNC. SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, the AC`97 CODEC samples the assertion of SYNC. This falling edge marks the time when both sides of AC-Link are aware of the start of a new audio frame. On the next rising of BIT_CLK, the AC`97 Controller transitions SDATA_OUT into the first bit position of slot 0 (Valid Frame bit). Each new bit position is presented to AC-Link on a rising edge of BIT_CLK, and subsequently sampled by the AC`97 CODEC on the following falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned.
Figure 16. Start of an Audio Output Frame
SYNC asserted SYNC detected by codec first SDATA_OUT bit of frame
SYNC BIT_CLK SDATA_OUT
End of previous audio frame
valid Frame
slot1
slot2
SDATA_OUT's composite stream is sent MSB first, with all non-valid slots bit positions stuffed with 0 by the AC`97 Controller. If there are less than 20 valid bits within an assigned and valid time slot, the AC`97 Controller always stuffs the trailing non-valid bit positions of the 20-bit slot with 0. As an example, consider an 8-bit sample stream that is being played out to one of the STAC9752/ 9753 DACs. The first 8 bit-positions are presented to the DAC (MSB first) followed by the next 12 bit-positions which are stuffed with 0 by the AC`97 Controller. This ensures that regardless of the resolution of the implemented DAC (16, 18 or 20-bit), no DC biasing will be introduced by the least significant bits. When mono audio sample streams are output from the AC`97 Controller, it is necessary that BOTH left and right sample stream time slots be filled with the same data.
IDTTM
33
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.3.1.
Slot 0: TAG / CODEC ID
Table 7. Output Slot 0 Bit Definitions Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1-0 Frame Valid Slot 1 Primary CODEC Valid Command Address bit (Primary CODEC only) Slot 2 Primary CODEC Valid Command Data bit (Primary CODEC only) Slot 3-12 Valid Data bits Slot 3: PCM Left channel Slot 4: PCM Right channel Slot 5: Modem Line 1 (not used on STAC9752/9753) Slot 6: Alternative PCM1 Left Slot 7: Alternative PCM2 Left Slot 8: Alternative PCM2 Right Slot 9: Alternative PCM1 Right Slot 10: SPDIF Left Slot 11: SPDIF Right Slot 12: Audio GPIO Reserved (Set to 0) 2-bit CODEC ID field (00 reserved for Primary; 01, 10, 11 indicate Secondary) Note: The DAC can be assigned to slots 3&4, 6&9, 7&8, or 10&11. Description
Within slot 0, the first bit is a global bit (SDATA_OUT slot 0, bit 15) which flags the validity for the entire audio frame. If the "Valid Frame" bit is a 1, this indicates that the current audio frame contains at least one time slot of valid data. The next 12 bit positions sampled by AC`97 indicate which of the corresponding 12 time slots contain valid data. In this way data streams of differing sample rates can be transmitted across AC-Link at its fixed 48 KHz audio frame rate. The two LSBs of Slot 0 transmit the CODEC ID used to distinguish Primary and Secondary CODEC register access.
5.3.2.
Slot 1: Command Address Port
The command port is used to control features and monitor status (see AC-Link input frame Slots 1 and 2) for AC`97 CODEC functions including, but not limited to, mixer settings, and power management (refer to the control register section of this specification). The control interface architecture supports up to 64 16-bit read/write registers, addressable on even byte boundaries. Only the even registers (00h, 02h, etc.) are currently defined, odd register (01h, 03h, etc.) accesses are reserved for future expansion. Note that shadowing of the control register file on the AC`97 Controller is an option left open to the implementation of the AC`97 Controller. The AC`97 CODEC's control register file is nonetheless required to be readable as well as writeable to provide more robust testability.
IDTTM
34
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
AC-Link output frame slot 1 communicates control register address, and write/read command information to the STAC9752/9753.
Table 8. Command Address Port Bit Assignments Bit 19 18:12 11:0 Description Read/Write command Control Register Index Reserved Comments 1= read, 0 = write Sixty-four 16-bit locations, addressed on even byte boundaries Stuffed with 0
The first bit (MSB) sampled by AC`97 indicates whether the current control transaction is a read or a write operation. The following 7 bit positions communicate the targeted control register address. The trailing 12 bit positions within the slot are reserved and must be stuffed with 0 by the AC`97 Controller.
5.3.3.
Slot 2: Command Data Port
The command data port is used to deliver 16-bit control register write data in the event that the current command port operation is a write cycle (as indicated by Slot 1, bit 19). * * Bit(19:4) Control Register Write Data (Stuffed with 0 if current operation is a read) Bit(3:0) Reserved (Stuffed with 0)
If the current command port operation is a read then the entire slot time must be stuffed with 0 by the AC`97 Controller.
5.3.4.
Slot 3: PCM Playback Left Channel
AC-Link output frame slot 3 is the composite digital audio left playback stream. In a typical "Games Compatible" PC this slot is composed of standard PCM (.wav) output samples digitally mixed (on the AC`97 Controller or host processor) with music synthesis output samples. If a sample stream of resolution less than 20-bits is transferred, the AC`97 Controller must stuff all trailing non-valid bit positions within this time slot with 0. The DAC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.3.5.
Slot 4: PCM Playback Right Channel
AC-Link output frame slot 4 is the composite digital audio right playback stream. In a typical "Games Compatible" PC this slot is composed of standard PCM (.wav) output samples digitally mixed (on the AC`97 Controller or host processor) with music synthesis output samples. If a sample stream of resolution less than 20-bits is transferred, the AC`97 Controller must stuff all trailing non-valid bit positions within this time slot with 0. The DAC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.3.6.
Slot 5: Modem Line 1 Output Channel
Audio output frame slot 5 is reserved for modem operation and is not used by the STAC9752/9753.
5.3.7.
Slot 6 - 11: DAC
The DAC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
IDTTM
35
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.3.8.
Slot 12: Audio GPIO Control Channel
AC-Link output frame slot 12 contains the audio GPIO control outputs.
5.4.
AC-Link Input Frame (SDATA_IN)
The AC-Link input frame data streams correspond to the multiplexed bundles of all digital input data targeting the AC`97 Controller. As is the case for audio output frame, each AC-Link input frame consists of 12 20-bit time slots. Slot 0 is a special reserved time slot containing 16-bits which are used for AC-Link protocol infrastructure. The following diagram illustrates the time slot-based AC-Link protocol.
Figure 17. STAC9752/9753 Audio Input Frame
Data Phase Tag Phase 20.8 uS (48 kHZ)
SYNC BIT_CLK SDATA_IN
12.288 MHz
valid Frame
slot1
slot2
slot(12)
"0"
"0"
"0"
19
"0"
19
"0"
19
"0"
19
"0"
End of previous audio frame Time Slot "Valid" Bits ("1" = time slot contains valid PCM data) Slot 1 Slot 2 Slot 3 Slot 12
A new AC-Link input frame begins with a low to high transition of SYNC. SYNC is synchronous to the rising edge of BIT_CLK. On the immediately following falling edge of BIT_CLK, the AC`97 CODEC samples the assertion of SYNC. This falling edge marks the time when both sides of AC-Link are aware of the start of a new audio frame. On the next rising of BIT_CLK, the AC`97 CODEC transitions SDATA_IN into the first bit position of slot 0 ("CODEC Ready" bit). Each new bit position is presented to AC-Link on a rising edge of BIT_CLK, and subsequently sampled by the AC`97 Controller on the falling edge of BIT_CLK. This sequence ensures that data transitions and subsequent sample points for both incoming and outgoing data streams are time aligned.
Figure 18. Start of an Audio Input Frame
SYNC detected first SDATA_OUT bit of frame
SYNC BIT_CLK S D A T A _ IN
End of previous audio frame
Codec Ready
slot1
slot2
SDATA_IN's composite stream is MSB first with all non-valid bit positions (for assigned and/or unassigned time slots) stuffed with 0 by the AC`97 CODEC. SDATA_IN data is sampled on the falling edges of BIT_CLK.
IDTTM
36
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.4.1.
Slot 0: TAG
Within slot 0 the first bit is a global bit (SDATA_IN slot 0, bit 15) which flags whether the AC`97 CODEC is in the "CODEC Ready" state or not. If the "CODEC Ready" bit is a 0, this indicates that the AC`97 CODEC is not ready for normal operation. This condition is normal following the deassertion of power-on-reset for example, while the AC`97 CODEC's voltage references settle. When the AC-Link "CODEC Ready" indicator bit is a 1, it indicates that the AC-Link and AC`97 CODEC control and status registers are in a fully operational state. The CODEC must assert "CODEC Ready" within 400 s after it starts receiving valid SYNC pulses from the controller, to provide indication of connection to the link and Control/Status registers are available for access. The AC`97 Controller and related software must wait until all of the lower four bits of the Control/Status Register, 26h, are set before attempting any register writes, or attempting to enable any audio stream, to avoid undesirable audio artifacts. Prior to any attempts at putting an AC`97 CODEC into operation, the AC`97 Controller should poll the first bit in the AC-Link input frame (SDATA_IN slot 0, bit 15) for an indication that CODEC has gone "CODEC Ready". Once an AC`97 CODEC is sampled "CODEC Ready" 1 , then the next 12 bit positions sampled by the AC`97 Controller indicate which of the corresponding 12 time slots are assigned to input data streams, and whether they contain valid data.
5.4.2.
Slot 1: Status Address Port / SLOTREQ signalling bits 5.4.2.1. Status Address Port
The status port is used to monitor status for the STAC9752/9753 functions including, but not limited to, mixer settings and power management. AC-Link input frame slot 1's stream echoes the control register index, for historical reference, for the data to be returned in slot 2 (assuming that slots 1 and 2 had been tagged "valid" by the AC`97 CODEC during slot 0).
Table 9. Status Address Port Bit Assignments Bit 19 18:12 11:2 1:0 Description Reserved Control Register Index SLOTREQ Reserved Comments Stuffed with 0 Echo of register index for which data is being returned See Next Section Stuffed with 0
The first bit (MSB) generated by AC`97 is always stuffed with a 0. The following 7 bit positions communicate the associated control register address, the next 10 bits support AC`97's variable sample rate signaling protocol, and the trailing 2 bit positions are stuffed with 0 by AC`97.
5.4.2.2.
SLOTREQ signaling bits
AC-Link input frame Slot #1, the Status Address Port, now delivers CODEC control register read address and variable sample rate slot request flags for all output slots. Ten of the formerly reserved least significant bits have been defined as data request flags for output slots 3-12.
1. There are several subsections within an AC`97 CODEC that can independently go busy/ready. It is the responsibility of the AC'97 Controller to probe more deeply into the AC`97 CODEC's register file to determine which subsections are actually ready.
IDTTM
37
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
The AC-Link input frame Slot 1 tag bit is independent of the bit 11-2 slot request field, and ONLY indicates valid Status Address Port data (Control Register Index). The CODEC should only set SDATA_IN tag bits for Slot 1 (Address) and Slot 2 (Data) to 1 when returning valid data from a previous register read. They should otherwise be set to 0. SLOTREQ bits have validity independent of the Slot 1 tag bit. SLOTREQ bits are always 0 in the following cases: * * * fixed rate mode (VRA = 0) inactive (powered down) ADC channel Variable rate audio mode (VRA = 1) AND active (power ready) ADC AND a non-48 KHz ADC sample rate AND CODEC does not need a sample
SLOTREQ bits are only set to 1 by the CODEC in the following case:
5.4.3.
Slot 2: Status Data Port
The status data port delivers 16-bit control register read data.
Table 10. Status Data Port Bit Assignments Bit 19:4 3:0 Description Control Register Read Data Reserved Stuffed with 0 Comments Stuffed with 0 if tagged "invalid"
If Slot 2 is tagged invalid by AC`97, then the entire slot will be stuffed with 0 by AC`97.
5.4.4.
Slot 3: PCM Record Left Channel
Audio input frame slot 3 is the left channel output of STAC9752/9753 input MUX, post-ADC. STAC9752/9753 ADCs are implemented to support 20-bit resolution. NOTE: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.4.5.
Slot 4: PCM Record Right Channel
Audio input frame slot 4 is the right channel output of STAC9752/9753 input MUX, post-ADC. STAC9752/9753 ADCs are implemented to support 20-bit resolution. NOTE: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.4.6.
Slot 5: Modem Line 1 ADC
Audio input frame slot 5 is not used by the STAC9752/9753 and is always stuffed with 0.
5.4.7.
Slot 6 - 9: ADC
The left and right ADC channels of the STAC9752/9753 may be assigned to slots 6&9 by Register 6Eh. NOTE: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
IDTTM
38
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.4.8.
Slots 7 & 8: Vendor Reserved
The left and right ADC channels of the STAC9752/9753 may be assigned to slots 7&8 by Register 6Eh. NOTE: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.4.9.
Slot 10 & 11: ADC
The left and right ADC channels of the STAC9752/9753 may be assigned to slots 10&11 by Register 6Eh. NOTE: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
5.4.10.
Slot 12: Reserved
AC-Link input frame slot 12 contains the GPIO status inputs and allows for audio interrupts. Slot 12 can not be used by the AC'97 CODEC because a modem CODEC is not present.
IDTTM
39
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.5.
AC-Link Interoperability Requirements and Recommendations
"Atomic slot" Treatment of Slot 1 Address and Slot 2 Data
Command or Status Address and Data cannot be split across multiple AC-Link frames. The following transactions require that valid Slot 1 Address and valid Slot 2 Data be treated as "atomic" (inseparable) with Slot 0 Tag bits for Address and Data set accordingly (that is, both valid): 1. 2. AC`97 Digital Controller write commands to Primary CODECs AC`97 CODEC status responses
5.5.1.
Whenever the AC`97 Digital Controller addresses a Primary CODEC or an AC`97 CODEC responds to a read command, Slot 0 Tag bits should always be set to indicate actual Slot 1 and Slot 2 data validity.
Table 11. Primary CODEC Addressing: Slot 0 Tag Bits Function AC`97 Digital Controller Primary Read Frame N, SDATA_OUT AC`97 Digital Controller Primary Write Frame N, SDATA_OUT AC`97 CODEC Status Frame N+1, SDATA_IN Slot 0, bit 15 (Valid Frame) 1 1 1 Slot 0, bit 14 (Valid Slot 1 Address) 1 1 1 Slot 0, bit 13 Slot 0, Bits 1-0 (Valid Slot 2 Data) (CODEC ID) 0 1 1 00 00 00
When the AC`97 Digital Controller addresses a Secondary CODEC, the Slot 0 Tag bits for Address and Data must be 0. A non-zero, 2-bit CODEC ID in the LSBs of Slot 0 indicates a valid Read or Write Address in Slot 1, and the Slot 1 R/W bit indicates presence or absence of valid Data in Slot 2.
Table 12. Secondary CODEC Addressing: Slot 0 Tag Bits Function AC`97 Digital Controller Secondary Read Frame N, SDATA_OUT AC`97 Digital Controller Secondary Write Frame N, SDATA_OUT AC`97 CODEC Status Frame N+1, SDATA_IN Slot 0, bit 15 (Valid Frame) 1 Slot 0, bit 14 (Valid Slot 1 Address) 0 Slot 0, bit 13 (Valid Slot 2 Data) 0 Slot 0, Bits 1-0 (CODEC ID) 01, 10, or 11
1 1
0 1
0 1
01, 10, or 11 00
IDTTM
40
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
5.6.
Slot Assignments for Audio
Figure 19. Bi-directional AC-Link Frame with Slot assignments
SLOTS SYNC OUTGOING STREAMS
(Controller output - SDATA_OUT) CMD ADDR CMD DATA PCM LEFT PCM RT PCM CTR PCM LSURR
PCM RSURR
0
1
2
3
4
5
6
7
8
9
10
11
12
TAG
NA
PCM LFE
SPDIF
SPDIF
IO CTRL
TAG
INCOMING STREAMS
(codec output - SDATA_IN)
STATUS ADDR
STATUS DATA
PCM LEFT
PCM RT
LINE1 ADC
PCM MIC
Vendor RSVD
Vendor RSVD
Vendor RSVD
LINE2 ADC
HSET ADC
IO STATUS
TAG PHASE
DATA PHASE
Slot 12 can be used by the AC'97 Codec if a Modem Codec is not present.
Note: The DAC & ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
The AC-Link output slots dedicated to audio are defined as follows:
Table 13. AC-Link Slot Definitions Slot 3 4 6 7 8 9 10:11 12 Name PCM L DAC playback PCM R DAC playback PCM Center PCM L Surround PCM R Surround PCM LFE SPDIF Out Reserved Description 20-bit PCM data for Left channel 20-bit PCM data for Right channel 20-bit PCM data for Center channel 20-bit PCM data for L Surround channel 20-bit PCM data for R Surround channel 20-bit PCM data for LFE channel 20-bit SPDIF Output Reserved
The AC-Link input slots dedicated to audio are defined as follows:
Table 14. AC-Link Input Slots Dedicated To Audio Slot 3 4 6 7 8 9 12 Name PCM L ADC record Description 20-bit PCM data from Left input
PCM R ADC record 20-bit PCM data from Right inputs Dedicated Microphone ADC 20-bit PCM data from optional 3rd ADC input Vendor reserved Vendor reserved Vendor reserved Audio Interrupt Vendor specific (enhanced input for docking, array mic, etc.) Vendor specific (enhanced input for docking, array mic, etc.) Vendor specific (enhanced input for docking, array mic, etc.) Provides optional interrupt capability for Audio CODEC (not usable when a modem is present)
Note: The ADC can be assigned to slots 3&4, 6&9, 7&8, or 10&11.
IDTTM
41
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Table 15. Audio Interrupt Slot Definitions Bit Description Optional: Assertion = 1 will cause interrupt to be propagated to Audio controller system interrupt. See register 24h definition for enabling mechanism.
19-1 Reserved (Audio CODEC will return zeros in bits 19-1) 0
IDTTM
42
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
6. STAC9752/9753 MIXER
The STAC9752/9753 includes an analog mixer for maximum flexibility. The analog mixer is designed to the AC'97 specification to manage the playback and record of all digital and analog audio sources in the PC environment. The analog mixer also includes several extensions of the AC'97 specification to support "all analog record" capability as well as "POP BYPASS" mode for all digital playback. The analog sources include: * * * * * * * System Audio: digital PCM input and output for business, games & multimedia CD/DVD: analog CD/DVD-ROM audio with internal connections to CODEC mixer Mono microphone: choice of desktop microphone, with programmable boost and gain Speakerphone: use of system microphone and speakers for telephone, DSVD, and video conferencing Video: TV tuner or video capture card with internal connections to CODEC mixer AUX/synth: analog FM or wavetable synthesizer, or other internal source Line in: external analog line level source from consumer audio, video camera, etc.
Source PC_BEEP PHONE MIC1 MIC2 LINE_IN CD VIDEO AUX PCM_OUT
Function PC BEEP pass through to LINE_OUT MONO input desktop microphone second microphone external audio source audio from CD-ROM audio from TV tuner or video camera upgrade synth or other external source digital audio output from AC'97 Controller
Connection from PC_BEEP output from telephony subsystem from microphone jack from second microphone jack from line-in jack cable from CD-ROM cable from TV or VidCap card internal connector AC-Link
Destination HP_OUT LINE_OUT MONO_OUT PCM_IN SPDIF
Function stereo mix of all sources stereo mix of all sources microphone or MONO Analog mixer output digital data from the CODEC to the AC'97 Controller SPDIF digital audio output
Connection To headphone out jack To output jack to telephony subsystem AC-Link To SPDIF output connector
IDTTM
43
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
7. MIXER FUNCTIONAL DIAGRAMS
Figure 20. STAC9752 2-Channel Mixer Functional Diagram
KEY MonoAnalog
2Ah:D5-D4
28h: D5-D4
Slot Select
6Ah:D1
StereoAnalog PCM to SPDIF SPDIF Digital
MUX
PCMOut
Slot Select
18h
20h:D13 22h:D2-D3
DAC
PC_BEEP Phone
20h:D8 0Eh:D6 & 6E:D2
vol
0Ah 0Ch 0Eh 1h 0 1h 2 1h 6 1h 4
mute 3D vol vol vol vol vol vol vol mute mute mute mute mute mute mute
04h
Digital PCBeep
Headphone Volume
02h 20h:D15
HP_OUT
Analog Audio Sources
MIC1 MIC2 LINEIN CD AUX VIDEO
10, 20 or 30 dB
20h:D13 22h:D2-D3
MUX
3D
-6dB
Master Volume
06h
LINE_OUT
MUX
6Eh:D12
Mono Volume
1Ch
MUX
MONO_OUT
AllAnalog v s AllRecord
1Ah
-6dB
20h:D9
MUX
Record Volume ADC
38h:D5-D4
Slot Select
PCMIn
ADCRecord
Figure 21. STAC9753 2-Channel Mixer Functional Diagram
KEY MonoAnalog
2Ah:D5-D4
28h: D5-D4
Slot Select
6Ah:D1
StereoAnalog PCM to SPDIF SPDIF Digital
MUX
PCMOut
Slot Select
18h
DAC
PC_BEEP Phone
20h:D8 0Eh:D6 & 6E:D2
vol
0Ah 0Ch
mute 3D vol vol vol vol vol vol vol mute mute mute mute mute mute mute
20h:D13 22h:D2-D3 04h
Digital PCBeep
Headphone Volume
02h 20h:D15
HP_OUT
Analog Audio Sources
MIC1 MIC2 LINEIN CD AUX VIDEO
10, 20 or 30 dB
0Eh 1h 0 1h 2 1h 6 1h 4
20h:D13 22h:D2-D3
3D
-6dB
Master Volume
06h
MUX
6Eh:D12
LINE_OUT
MUX
AllAnalog v s AllRecord
1Ah
Mono Volume
1Ch
MUX
MONO_OUT
-6dB
20h:D9
MUX
Record Volume ADC
38h:D5-D4
Slot Select
PCMIn
ADCRecord
IDTTM
44
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
7.1.
Analog Mixer Input
The mixer provides recording and playback of any audio sources or output mix of all sources. The STAC9752/9753 supports the following input sources: * * * any mono or stereo source mono or stereo mix of all sources 2-channel input w/mono output reference (microphone or stereo mix)
Note: All unused inputs should be tied together and connected to ground through a capacitor (0.1 F suggested). Note: The MIC should be tied to ground through a separate 0.1 F capacitor.
7.2.
Mixer Analog Output
The mixer generates three distinct outputs: * * * A stereo mix of all sources for output to the LINE_OUT A stereo mix of all sources for output to HP_OUT A mono, microphone only, or mix of all sources, for MONO_OUT
7.3.
SPDIF Digital Mux
The STAC9752/9753 incorporates a digital output that supports SPDIF formats. A multiplexer determines which of two digital input streams are used for the digital output conversion process. These two streams include the PCM_OUT data from the audio controller and the ADC recorded output. The normal analog LINE_OUT signal can be converted to the SPDIF formats by using the internal ADC to record the "MIX" output, which is the combination of all analog and all digital sources. In the case of digital controllers with support for 4 or more channels, the SPDIF output mode can be used to support compressed 6-channel output streams for delivery to home theater systems. These can be routed on alternate AC-Link slots to the SPDIF output, while the standard 2-channel output is delivered as selected by bits D5 and D4 in Register 6E. If the digital controller supports 6 channels, a SPDIF output with 4 analog channels can also be configured. If the Digital Controller has independent DMA engines, SPDIF and Analog can be used simultaneously and independently. Pin 48: To Enable SPDIF, use an 1 K to 10 K external pulldown. To Disable SPDIF, use an 1 K to 10 K external pullup. Do NOT leave Pin 48 floating.
IDTTM
45
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
7.4.
PC Beep Implementation
The STAC9752/9753 offers 2 styles of PC BEEP, Analog and Digital. The digital PC Beep is a new feature added to the AC'97 Specification Rev 2.3. This style of PC Beep will eventually replace the analog style, thus eliminating the need for a PC Beep pin. Until this feature is widely accepted, IDT will provide BOTH styles of PC Beep. Both PC Beep styles use Reg 0Ah. Additional information about Reg 0Ah can be found in Section8.1.5: page51.
7.4.1.
Analog PC Beep
PC Beep is active on power up and defaults to an un-muted state. The PC_BEEP input is routed directly to the MONO_OUT, LINE_OUT and HP_OUT pins of the CODEC. Because the PC_BEEP input drive is often a full scale digital signal, some resistive attenuation of the PC_BEEP input is recommended to keep the beep tone within reasonable volume levels. The user should mute this input before using any other mixer input because the PC Beep input can contribute noise to the lineout during normal operation. This style of PC Beep is related to the AC'97 Specification Rev 2.2. To use the analog PC Beep, a value of 00h written to bits F[7:0] (D[12:5]) disables the Digital PC Beep generation. PV[3:0] (D[4:1]) controls the volume level from 0 to 45dB of attenuation in 3dB steps.
7.4.2.
Digital PC Beep
The Digital PC Beep uses the identical register as the analog style, Reg 0Ah. This register controls the level and frequency for the PC Beep. The beep frequency is the result of dividing the 48 KHz clock by 4 times the number specified in F[7:0], allowing tones from 47 Hz to 12 KHz. A value of 00h written to bits F[7:0] disables the digital PC Beep generation and enables the analog PC Beep. The volume control bits, PV[3:0] operate identically to the analog PC Beep mode. Applying a signal to the PC Beep pin, pin 12, may cause the digital PC Beep signal to become distorted or inaudible. When using the digital PC Beep feature, we recommend leaving the PC Beep input pin unconnected or connected to analog ground through a capacitor. Connecting a capacitor from the PC Beep input pin to ground will create a more pleasing sound by changing the digital output to a more sinusoidal like output.
Table 16. Digital PC Beep Examples Value 1 10 25 50 100 127 255 Reg 0Ah, bits[7:0] 0x01 0x0A 0x19 0x32 0x64 0x7F 0xFF Frequency 12,000 Hz 1200 Hz 480 Hz 240 Hz 120 Hz 94.48 Hz 47.05 Hz
This will be programmed directly by the BIOS.
IDTTM
46
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8. PROGRAMMING REGISTERS
Table 17. Programming Registers Address 00h 02h 04h 06h 0Ah 0Ch 0Eh 10h 12h 14h 16h 18h 1Ah 1Ch 20h 22h 24h 26h 28h 2Ah 2Ch 32h 3Ah 3Eh 4Ch 4Eh 50h 52h 54h Name Reset Master Volume HP_OUT Mixer Volume Master Volume MONO PC Beep Mixer Volume Phone Mixer Volume Microphone Mixer Volume Line In Mixer Volume CD Mixer Volume Video Mixer Volume Aux Mixer Volume PCM Out Mixer Volume Record Select Record Gain General Purpose 3D Control Audio Int. & Paging Powerdown Ctrl/Stat Extended Audio ID Extended Audio Control/Status PCM DAC Rate PCM LR ADC Rate SPDIF Control Extended Modem Stat/Ctl GPIO Pin Configuration GPIO Pin Polarity/Type GPIO Pin Sticky GPIO Wake-up GPIO Pin Status Default 6A90h 8000h 8000h 8000h 0000h 8008h 8008h 8808h 8808h 8808h 8808h 8808h 0000h 8000h 0000h 0000h 0000h 000Fh 0A05h 0400h* BB80h BB80h 2000h 0100h 0003h FFFFh 0000h 0000h 0000h 1201h FFFFh FFFFh 0000h xxxxh 0000h NA xxxxh 0000h 1000h 0000h 0000h
47 STAC9752/9753
Location 8.1.1; page48 8.1.2; page48 8.1.3; page49 8.1.4; page50 8.1.5; page51 8.1.6; page51 8.1.7; page52 8.1.8; page52 8.1.9; page53 8.1.10; page53 8.1.11; page54 8.1.12; page54 8.1.13; page55 8.1.14; page55 8.1.15; page56 8.1.16; page56 8.1.17: page57 8.1.18; page58 8.1.19; page59 8.1.20; page61 8.1.22; page63 8.1.23; page63 8.1.24; page64 8.2.4; page65 8.2.5; page66 8.2.6; page66 8.2.7; page66 8.2.8; page67 8.2.9; page67 8.3; page68 8.4.2; page70 8.4.3; page70 8.4.4; page71 8.4.5; page72 8.4.6; page73 8.4.7: page74 8.4.7; page74 NA 8.4.9: page76 NA NA
REV 3.3 1206
60h CODEC Class/Rev 62h (Page 01h) PCI SVID 64h (Page 01h) PCI SSID 66h (Page 01h) Function Select 68h (Page 01h) Function Information 6Ah Digital Audio Control 6Ah (Page01h) Sense Details 6Ch Revision Code 6Ch (Page01h) Reserved 6Eh Analog Special 6Eh (Page01h) Reserved 70h
IDTTM
Enable Register
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Table 17. Programming Registers (Continued) Address 72h 74h 78h 7Ah 7Ch 7Eh Name Analog Current Adjust EAPD Access High Pass Filter Bypass Reserved Vendor ID1 Vendor ID2 Note: * depends upon CODEC ID Default 0000h 0800h 0000h NA 8384h 7652h Location 8.4.10; page77 8.4.11; page77 8.4.12; page78 NA 8.5.1; page79 8.5.2; page79
8.1.
Register Descriptions
Reset (00h)
Default: 6A90h
D15 RSRVD D7 ID7 D14 SE4 D6 ID6 D13 SE3 D5 ID5 D12 SE2 D4 ID4 D11 SE1 D3 ID3 D10 SE0 D2 ID2 D9 ID9 D1 ID1 D8 ID8 D0 ID0
8.1.1.
Writing any value to this register performs a register reset, which causes all registers to revert to their default values. This register reset also resets all the digital block. Reading this register returns the ID code of the part.
Bit(s) 15 14:10 9 8 7 6 5 4 3 2 1 0 Reset Value 0 11010 1 0 1 0 0 1 0 0 0 0 Name RESERVED SE4:SE0 ID9 ID8 ID7 ID6 ID5 ID4 ID3 ID2 ID1 ID0 Description Bit not used, should read back 0 IDT ID for SS3D 20-bit ADC resolution (supported) 18-bit ADC resolution 20-bit DAC resolution (supported) 18-bit DAC resolution Loudness (bass boost) Headphone Out (supported) Simulated Stereo (mono to stereo) Bass & Treble Control Reserved Dedicated MIC PCM IN channel
8.1.2.
Master Volume Registers (02h)
Default: 8000h
D15 Mute D14 RSRVD D13 ML5 D5 MR5 D12 ML4 D4 MR4 D11 ML3 D3 MR3 D10 ML2 D2 MR2 D9 ML1 D1 MR1 D8 ML0 D0 MR0
D7 D6 RESERVED
IDTTM
48
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) 15 14 13
Reset Value 1 0 0
Name Mute RESERVED ML5
12:8
0
ML<4:0>
7:6 5
0 0
RESERVED MR5
4:0
0
MR<4:0>
Description 0 = No mute 1 = Mutes both left & right channels Bit not used, should read back 0 0 = Lineout attenuation is a function of bits12-8 1 = Forces register bits 12-8 to be 11111. Always reads back 0. Left Lineout Volume Control 00000 = 0dB attenuation 00001 = 1.5dB attenuation ..... 11111 = 46.5dB attenuation Bits not used, should read back 0 0 = Lineout attenuation is a function of bits 4-0 1 = Forces register bits 4-0 to be 11111 Always reads back 0 Right Channel Lineout Volume Control 00000 = 0dB attenuation 00001 = 1.5dB attenuation ..... 11111 = 46.5dB attenuation
8.1.3.
Headphone Volume Registers (04h)
Default: 8000h
D15 Mute D7 D14 RSRVD D6 D13 HPL5 D5 HPR5 Name Mute RESERVED ML5 D12 HPL4 D4 HPR4 D11 HPL3 D3 HPR3 D10 HPL2 D2 HPR2 Description 0 = No mute 1 = Mutes both left & right channels Bit not used, should read back 0 0 = Headphone attenuation is a function of bits12-8 1 = Forces register bits 12-8 to be 11111. Always reads back 0 Left Headphone Volume Control 00000 = 0dB attenuation 00001 = 1.5dB attenuation ..... 11111 = 46.5dB attenuation Bits not used, should read back 0 0 = Headphone attenuation is a function of bits 4-0 1 = Forces register bits 4-0 to be 11111. Always reads back 0 Right Channel Headphone Volume Control 00000 = 0dB attenuation 00001 = 1.5dB attenuation ..... 11111 = 46.5dB attenuation D9 HPL1 D1 HPR1 D8 HPL0 D0 HPR0
RESERVED Bit(s) 15 14 13 Reset Value 1 0 0
12:8
0
ML<4:0>
7:6 5
0 0
RESERVED MR5
4:0
0
MR<4:0>
IDTTM
49
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.4.
Master Volume MONO (06h)
Default: 8000h
D15 Mute D7 D6 RESERVED Bit(s) 15 14:6 5 Reset Value 1 0 0 D5 MM5 Name Mute RESERVED MM5 D4 MM4 D14 D13 D12 D11 RESERVED D3 MM3 D2 MM2 D1 MM1 D0 MM0 D10 D9 D8
4:0
0
MM<4:0>
Description 0 = No mute 1 = Mute mono Bit not used, should read back 0 0 = Mono attenuation is a function of bits 4-0 1 = Forces register bits 4-0 to be 11111. Always reads back 0 Mono Volume Control 00000 = 0dB attenuation 00001 = 1.5dB attenuation ..... 11111 = 46.5dB attenuation
IDTTM
50
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.5.
PC BEEP Volume (0Ah)
Default: 0000h Additional information on the PC Beep can be found in Section 7.4: page46.
D15 Mute D7 F2 Bit(s) 15 14:13 D14 D13 RESERVED D6 F1 Reset Value 1 0 D5 F0 Name Mute RESERVED D12 F7 D4 PV3 D11 F6 D3 PV2 D10 F5 D2 PV1 D9 F4 D1 PV0 D8 F3 D0 RSRVD
12:5
00h
F[7:0]
Description 0 = No mute 1 = Mute PC BEEP Bit not used, should read back 0 The Beep frequency is the result of dividing the 48 KHz clock by 4 times the value of the number specified in F[7:0], allowing tones from 47 Hz to 12 KHz. A value of 00h in bits F[7:0] disables internal PC BEEP generation and enables external PC BEEP input, if available. PCBEEP Volume Control 0000 = 0dB attenuation 0001 = 3dB attenuation ..... 1111 = 45dB attenuation Bit not used, should read back 0
4:1
0
PV(3:0)
0
0
RESERVED
8.1.6.
Phone Volume (Index 0Ch)
Default: 8008h.
D15 Mute D7 D14 D6 RESERVED Bit(s) 15 14:5 Reset Value 1 0 Name Mute RESERVED D13 D5 D12 D4 GN4 D11 RESERVED D3 GN3 D10 D2 GN2 D9 D1 GN1 D8 D0 GN0
4:0
0
GN<4:0>
Description 0 = No mute 1 = Mute phone Bit not used, should read back 0 Phone Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain
IDTTM
51
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.7.
Mic Volume (Index 0Eh)
Default: 8008h.
D15 Mute D7 RESERVED Bit(s) 15 14:7 D14 D6 BOOSTEN D13 D5 RESERVED Name Mute RESERVED D12 D4 GN4 D11 RESERVED D3 GN3 D10 D2 GN2 Description 0 = No mute 1 = Mute phone Bit not used, should read back 0 Works with MICGAINVAL (Register 6Eh, Bit D2) BOOSTEN MICGAINVAL = Microphone Gain Boost 0 0 = 0 dB 0 1 = 10 dB 1 0 = 20 dB 1 1 = 30 dB Phone Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain D9 D1 GN1 D8 D0 GN0
Reset Value 1 0
6
0
BOOSTEN
5
0
RESERVED
4:0
0
GN<4:0>
8.1.8.
LineIn Volume (Index 10h)
Default: 8808h.
D15 Mute D7 Bit(s) 15 14:13 D14 D6 RESERVED Reset Value 1 0 D13 D5 Name Mute RESERVED D12 GL4 D4 GR4 D11 GL3 D3 GR3 D10 GL2 D2 GR2 D9 GL1 D1 GR1 D8 GR0 D0 GR0 RESERVED
12:8
0
GL<4:0>
7:5
0
RESERVED
4:0
0
GR<4:0>
Description 0 = No mute 1 = Mute linein Bit not used, should read back 0 Left LineIn Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain Bit not used, should read back 0 Right LineIn Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain
IDTTM
52
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.9.
CD Volume (Index 12h)
Default: 8808h.
D15 Mute D7 D14 D13 D12 GL4 D4 GR4 Name Mute RESERVED D11 GL3 D3 GR3 D10 GL2 D2 GR2 Description 0 = No mute 1 = Mute CD Bit not used, should read back 0 Left CD Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain Bit not used, should read back 0 Right CD Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain D9 GL1 D1 GR1 D8 GR0 D0 GR0 RESERVED D6 D5 RESERVED Bit(s) 15 14:13 Reset Value 1 0
12:8
0
GL<4:0>
7:5
0
RESERVED
4:0
0
GR<4:0>
8.1.10.
Video Volume (Index 14h)
Default: 8808h.
D15 Mute D7 D14 D13 D12 GL4 D4 GR4 Name Mute RESERVED D11 GL3 D3 GR3 D10 GL2 D2 GR2 D9 GL1 D1 GR1 D8 GR0 D0 GR0 RESERVED D6 D5 RESERVED Bit(s) 15 14:13 Reset Value 1 0
12:8
0
GL<4:0>
7:5
0
RESERVED
4:0
0
GR<4:0>
Description 0 = No mute 1 = Mute video Bit not used, should read back 0 Left Video Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain Bit not used, should read back 0 Right video Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain
IDTTM
53
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.11.
Aux Volume (Index 16h)
Default: 8808h.
D15 Mute D7 D14 D13 D12 GL4 D4 GR4 Name Mute RESERVED D11 GL3 D3 GR3 D10 GL2 D2 GR2 Description 0 = No mute 1 = Mute AUX Bit not used, should read back 0 Left Aux Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain Bit not used, should read back 0 Right Aux Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain D9 GL1 D1 GR1 D8 GR0 D0 GR0 RESERVED D6 D5 RESERVED Bit(s) 15 14:13 Reset Value 1 0
12:8
0
GL<4:0>
7:5
0
RESERVED
4:0
0
GR<4:0>
8.1.12.
PCMOut Volume (Index 18h)
Default: 8808h.
D15 Mute D7 D14 D13 D12 GL4 D4 GR4 Name Mute RESERVED D11 GL3 D3 GR3 D10 GL2 D2 GR2 D9 GL1 D1 GR1 D8 GR0 D0 GR0 RESERVED D6 D5 RESERVED Bit(s) 15 14:13 Reset Value 1 0
12:8
0
GL<4:0>
Description 0 = No mute 1 = Mute PCM OUT Bit not used, should read back 0 Left PCM Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain
IDTTM
54
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) 7:5
Reset Value 0
Name RESERVED
4:0
0
GR<4:0>
Description Bit not used, should read back 0 Right PCM Volume Control 00000 = 12dB gain 00001 = 10.5dB gain ..... 01000 = 0dB gain ..... 11111 = -34.5dB gain
8.1.13.
Record Select (1Ah)
Default: 0000h (corresponding to Microphone in) Used to select the record source independently for right and left.
D15 D7 Bit(s) 15:11 D14 D6 Reset Value 0 D13 RESERVED D5 RESERVED Name RESERVED D4 D3 D12 D11 D10 SL2 D2 SR2 D9 SL1 D1 SR1 D8 SL0 D0 SR0
10:8
0
SL2:SL0
7:3
0
RESERVED
2:0
0
SR2:SR0
Description Bits not used, should read back 0 LEFT CHANNEL INPUT SELECT 000 = Microphone 001 = CD In (left) 010 = Video In (left) 011 = Aux In (left) 100 = Line In (left) 101 = Stereo Mix (left) 110 = Mono Mix 111 = Phone Bits not used, should read back 0 RIGHT CHANNEL INPUT SELECT 000 = Microphone 001 = CD In (right) 010 = Video In (right) 011 = Aux In (right) 100 = Line In (right) 101 = Stereo Mix (right) 110 = Mono Mix 111 = Phone
8.1.14.
Record Gain (1Ch)
Default: 8000h (corresponding to 0 dB gain with mute on)
D15 Mute D7 D14 D6 D13 RESERVED D5 RESERVED Bit(s) 15 14:12 Reset Value 1 0 Name MUTE RESERVED D12 D4 D11 GL3 D3 GR3 D10 GL2 D2 GR2 D9 GL1 D1 GR1 D8 GL0 D0 GR0
Description Mutes RECORD GAIN Bits not used, should read back 0
IDTTM
55
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s)
Reset Value
Name
11:8
0
GL<3:0>
7:4
0
RESERVED
3:0
0
GR<3:0>
Description Left Channel Volume Control 0000 = 0dB gain 0001 = 1.5dB gain .... 1111 = 22.5dB gain Bits not used, should read back 0 Right Channel Volume Control 0000 = 0dB gain 0001 = 1.5dB gain .... 1111 = 22.5dB gain
8.1.15.
General Purpose (20h)
Default: 0000h
D15 POP BYP D7 LOOPBACK Bit(s) 15 14 13 12:10 9 8 7 6:0 Reset Value 0 0 0 0 0 0 0 0 Name POP BYPASS RESERVED 3D RESERVED MIX MS LOOPBACK RESERVED D14 RESERVED D6 D13 3D D5 D12 D4 D11 RESERVED D3 RESERVED Description 0 = Normal 1 = DAC bypasses mixer and connects directly to Line Out, Headphone Out and Mono Out. Bit not used, should read back 0 0 = 3D EFFECT disabled 1 = 3D EFFECT enabled Bits not used, should read back 0 Mono Output select (0 = Mix, 1 = Microphone) Microphone select (0 = Microphone1, 1 = Microphone2) 1 = Enables ADC to DAC Loopback Test 0 = Loopback Disabled Do not send in conflicting data on AC-Link while running this. Bits not used, should read back 0 D10 D2 D9 MIX D1 D8 MS D0
8.1.16.
3D Control (22h)
Default: 0000h
D15 D7 D14 D6 D13 D12 D4 D11 D3 DP3 D10 D2 DP2 D9 D8
RESERVED D5 RESERVED D1 D0 RESERVED
IDTTM
56
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) 15:4
Reset Value 0
Name RESERVED
3:2
0
DP3, DP2
1:0
0
RESERVED
Description Bits not used, should read back 0 LINE_OUT SEPARATION RATIO DP3 DP2 effect 00 0 ( OFF ) 01 3 ( LOW ) 10 4.5 ( MED ) 11 6 ( HIGH ) Bits not used, should read back 0
This register is used to control the 3D stereo enhancement function, IDT Surround 3D (SS3D), built into the AC'97 component. Note that register bits DP3-DP2 are used to control the separation ratios in the 3D control for LINE_OUT. SS3D provides for a wider soundstage extending beyond the normal 2-speaker arrangement. Note that the 3D bit in the general purpose register (20h) must be set to 1 to enable SS3D functionality to allow the bits in 22h to take effect. The three separation ratios are implemented. The separation ratio defines a series of equations that determine the amount of depth difference (High, Medium, and Low) perceived during 2-channel playback. The ratios provide for options to narrow or widen the soundstage.
8.1.17.
Audio Interrupt and Paging (24h)
Default: 0000h
D15 I4 D7 D14 I3 D6 D13 I2 D5 RESERVED Access Name D12 I1 D4 D11 I0 D3 PG3 D2 PG2 D10 D9 RESERVED D1 PG1 D0 PG0 D8
Bit(s) Reset Value
15
0
Read / Write
I4
14-13
0
Read Only
I3-I2
12
0
Read / Write
I1
Description 0 = Interrupt is clear 1 = Interrupt is set Interrupt event is cleared by writing a 1 to this bit. The interrupt bit will change regardless of condition of interrupt enable (I0) status. An interrupt in the GPI in slot 12 in the ACLink will follow this bit change when interrupt enable (I0) is unmasked. Interrupt Cause 00 = Reserved 01 = Sense Cycle Complete, sense info available. 10 = Change in GPIO input status 11 = Sense Cycle Complete and Change in GPIO input status. These bits will reflect the general cause of the first interrupt event generated. It should be read after interrupt status has been confirmed as interrupting. The information should be used to scan possible interrupting events in proper pages. Sense Cycle 0 = Sense Cycle not in Progress 1 = Sense Cycle Start. Writing a 1 to this bit causes a sense cycle start if supported. If sense cycle is not supported this bit is read only.
IDTTM
57
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value
11
0
10:4
0
3:0
0
Description Interrupt Enable 0 = Interrupt generation is masked. 1 = Interrupt generation is un-masked. The driver should not un-mask the interrupt unless ensured by the AC `97 controller that no conflict is possible with modem slot 12 Read / Write I0 GPI functionality. Some AC'97 2.2 compliant controllers will not likely support audio CODEC interrupt infrastructure. In either case, S/W should poll the interrupt status after initiating a sense cycle and wait for Sense Cycle Max Delay to determine if an interrupting event has occurred. Read Only RESERVED Bits not used, should read back 0 Page Selector 0h = Vendor Specific 1h = Page ID 01 (See Section 8.4 for additional information on the Paging Registers) Fh = Reserved Pages This register is used to select a descriptor of 16 word pages between registers 60h to 6Fh. Value 0h is used to select vendor Read / Write PG3:PG0 specific space to maintain compatibility with AC'97 2.2 vendor specific registers. System S/W determines implemented pages by writing the page number and reading the value back. All implemented pages must be consecutive. (i.e., page 2h cannot be implemented without page 1h). These registers are NOT reset on RESET#.
Access
Name
8.1.18.
Powerdown Ctrl/Stat (26h)
Default: 000Fh
D15 EAPD D7 D14 PR6 D6 D13 PR5 D12 PR4 D4 D11 PR3 D3 REF D10 PR2 D2 ANL D9 PR1 D1 DAC D8 PR0 D0 ADC
D5 RESERVED Name EAPD PR6 PR5 PR4 PR3 PR2 PR1
Bit(s) 15 14 13 12 11 10 9
Reset Value 0 0 0 0 0 0 0
Description 1 = Forces EAPD pad to Vdd 0 = Forces EAPD pad to GND 0 = Headphone Amp powered up 1 = Headphone Amp powered down 0 = Digital Clk active 1 = Digital Clk disable. 0 = digital active 1 = Powerdown: PLL, AC-Link, Xtal oscillator ; 0 = VREF and VREFOUT are active 1 = VREF and VREFOUT are powered down, and PR2 is asserted in analog block 0 = analog active 1 = all signal path analog is powered down 0 = DAC powered up 1 = DAC powered down
IDTTM
58
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) 8 7:4 3 2 1 0
Reset Value 0 0 1 1 1 1
Name PR0 RESERVED REF ANL DAC ADC
Description 0 = ADC powered up 1 = ADC powered down Bit not used, should read back 0 Read Only --- VREF status 1 = VREFs enabled Read Only ---- ANALOG MIXERS, etc. Status 1 = Analog Mixers ready. Read Only ---- DAC Status 1 = DAC ready to playback Read Only ---- ADC Status 1 = ADC ready to record
8.1.18.1.
Ready Status
The lower half of this register is read only status, a 1 indicating that each subsection is "ready". Ready is defined as the subsection's ability to perform in its nominal state. When this register is written, the bit values that come in on AC-Link will have no effect on read-only bits 0-7. When the AC-Link "CODEC Ready" indicator bit (SDATA_IN slot 0, bit 15) is a 1, it indicates that the AC-Link and AC'97 control and status registers are in a fully operational state. The AC'97 controller must further probe this Powerdown Control/Status Register to determine exactly which subsections, if any, are ready. When this register is written, the bit values that come in on AC-Link will have no effect on read-only bits 0-7.
8.1.18.2.
Powerdown Controls
The STAC9752/9753 is capable of operating at reduced power when no activity is required. The state of power down is controlled by the Powerdown Register (26h). See the section "Low Power Modes" for more information.
8.1.18.3.
External Amplifier Power Down Control Output
The EAPD bit 15 of the Powerdown Control/Status Register (Index 26h) directly controls the output of the EAPD output, pin 45, and produces a logical 1 when this bit is set to logic high. This function is used to control an external audio amplifier power down. EAPD = 0 places approximately 0V on the output pin, enabling an external audio amplifier. EAPD = 1 places approximately DVdd on the output pin, disabling the external audio amplifier. Audio amplifiers that operate with reverse polarity will likely require an external inverter to maintain software driver compatibility. EAPD can also act as a GPIO. See Section 8.4.11: page77. The GPIO controls in Section 8.2: page64 have no effect on EAPD.
8.1.19.
Extended Audio ID (28h)
Default: 0A05h
D15 ID1 D7 D14 ID0 D6 RESERVED D13 D5 DSA1 D12 D11 RESERVED D4 DSA0 D3 RSVD D10 D2 SPDIF D9 AMAP D1 RSVD D8 RSVD D0 VRA
IDTTM
59
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
The Extended Audio ID register is a read only register except for bits D4 and D5. ID1 and ID0 echo the configuration of the CODEC as defined by the programming of pins 45 and 46 externally. The primary CODEC returns "00", while any other code identifies the CODEC as one of three secondary CODEC possibilities. The AMAP bit, D9, will return a 1 indicating that the CODEC supports the optional "AC'97 2.3 compliant AC-Link slot to audio DAC mappings".The default condition assumes that 0 is loaded into the DSA0 and DSA1 bits of the Extended Audio ID (Index 28h). With 0 in the DSA1 and DSA0 bits, the CODEC slot assignments are as per the AC'97 specification recommendations. If the DSA1 and DSA0 bits do not contain 0, the slot assignments are as per the table in the section describing the Extended Audio ID (Index 28h). The VRA bit, D0, will return a 1 indicating that the CODEC supports the optional variable sample rate conversion as defined by the AC'97 specification.
Table 18. Extended Audio ID Register Functions Bit 15:14 13:12 11:10 9:6 Name ID [1,0] RESERVED REV[1:0] RSVD Access Read only Read only Read only Read only Reset Value variable 00 10 0 00 Function 0,0 = XTAL_OUT grounded (Note 1) CID1#, CID0# = XTAL_OUT crystal or floating Bits not used, should read back 00 Indicates CODEC is AC'97 Rev 2.3 compliant Reserved DAC slot assignment If CID[1:0] = 00 then DSA[1:0] resets to 00 If CID[1:0] = 01 then DSA[1:0] resets to 01 If CID[1:0] = 10 then DSA[1:0] resets to 01 If CID[1:0] = 11 then DSA[1:0] resets to 10 00 = left slot 3, right slot 4 01 = left slot 7, right slot 8 10 = left slot 6, right slot 9 11 = left slot 10, right slot 11 RESERVED 0 = SPDIF pulled high on reset, SPDIF disabled 1 = default, SPDIF enabled (Note 2) RESERVED
5:4
DSA [1,0]
Read/Write
3 2 1 0 1.
RSVD SPDIF RSVD
Read only Read only Read only
0 1 0
2.
VRA Read only 1 Variable sample rates supported (Always = 1) External CID pin status (from analog) these bits are the logical inversion of the pin polarity (pin 45-46). These bits are zero if XTAL_OUT is grounded with an alternate external clock source in primary mode only. Secondary mode can either be through BIT CLK driven or 24MHz clock driver, with XTAL_OUT floating. If pin 48 is held high at powerup, this bit will be held to zero, to indicate the SPDIF is not available. Pin 48: To Enable SPDIF, use an external 1K - 1 0 K pulldown resistor. To Disable SPDIF, use an external 1K - 1 0 K pullup resistor. Do NOT leave Pin 48 floating.
IDTTM
60
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.20.
Extended Audio Control/Status (2Ah)
Default: 0400h* (*default depends on CODEC ID)
D15 VCFG D7 D6 RESERVED D14 D13 D5 SPSA1 D12 D4 SPSA0 D11 D3 RSRVD D10 SPCV D2 SPDIF D9 D1 RSRVD D8 D0 VRA enable
RESERVED
RESERVED
Note: If pin 48 is held high at powerup, the SPDIF is not available and bits D15:D1 can not be written and will read back zero. Pin 48: To Enable SPDIF, use an external 1K - 1 0 K pulldown resistor. To Disable SPDIF, use an external 1K - 1 0 K pullup resistor. Do NOT leave Pin 48 floating. Bit(s) Reset Value Name Description Determines the SPDIF transmitter behavior when data is not being transmitted. When asserted, this bit forces the deassertion of the SPDIF "Validity" flag, which is bit 28 transmitted by the SPDIF sub-frame. The "V" bit is defined in the SPDIF Control Register (Reg 3Ah). If "V" = 1 and "VCFG" = 0, then for each S/PDIF sub-frame (Left & Right), bit[28] "Validity" flag reflects whether or not an internal CODEC transmission error has occurred. Specifically an internal CODEC error should result in the "Validity" flag being set to 1. If "V" = 0 and "VCFG" = 1, In the case where the S/PDIF transmitter does not receive a valid sample from the AC'97 controller, (Left or Right), the S/PDIF transmitter should set the "Validity" flag to "0" and pad the "Audio Sample Word" with "0"s for sub-frame in question. If a valid sample (Left or Right) was received and successfully transmitted, the "Validity" flag should be "0" for that sub-frame. Default state, coming out of reset, for "V" and "VCFG" should be 0 and 0. These bits can be set via driver .inf options. Reserved 0 = Invalid SPDIF configuration 1 = Valid SPDIF configuration Bit not used, should read back 0 SPDIF slot assignment
15
VCFG
14-11 10 9:6 0 0
Reserved SPCV Reserved
5:4
0
If CID[1:0] = 00 then SPSA[1:0] resets to 01 If CID[1:0] = 01 then SPSA[1:0] resets to 10 If CID[1:0] = 10 then SPSA[1:0] resets to 10 SPSA1:SPSA0 If CID[1:0] = 11 then SPSA[1:0] resets to 11 00 = left slot 3, right slot 4 01 = left slot 7, right slot 8 10 = left slot 6, right slot 9 11 = left slot 10, right slot 11 Reserved 0 = Disables SPDIF (SPDIF_OUT is high Z) (note 1) 1 = Enable SPDIF SPDIF is a control register for Reg 3Ah, this bit must be set low i.e. SPDIF disabled in order to write to Reg 3Ah Bits D15,D13:D0.
3 2 0
Reserved SPDIF
IDTTM
61
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value 1 0 0 0
Name Reserved VRA Enable
Description Bit not used, should read back 0 0 = VRA Disabled, DAC and ADC set to 48 KHz (Registers 2Ch and 32h loaded with the value BB80h) 1 = VRA Enabled, Reg. 2Ch & 32h control sample rate
8.1.20.1.
Variable Rate Sampling Enable
The Extended Audio Status Control register also contains one active bit to enable or disable the Variable Sampling Rate capabilities of the DACs and ADCs. If the VRA (bit D0) is 1, the variable sample rate control registers (2Ch and 32h) are active, and "on-demand" slot data required transfers are allowed. If the VRA bit is 0, the DACs and ADCs will operate at the default 48 KHz data rate. The STAC9752/9753 supports "on-demand" slot request flags. These flags are passed from the CODEC to the AC'97 controller in every audio input frame. Each time a slot request flag is set (active low) in a given audio frame, the controller will pass the next PCM sample for the corresponding slot in the audio frame that immediately follows. The VRA enable bit must be set to 1 to enable "on-demand" data transfers. If the VRA enable bit is not set, the CODEC defaults to 48 KHz transfers and every audio frame includes an active slot request flag and data transfers every frame. For variable sample rate output, the CODEC examines its sample rate control registers, the state of the FIFOs, and the incoming SDATA_OUT tag bits at the beginning of each audio output frame to determine which SLOTREQ bits to set active (low). SLOTREQ bits are asserted during the current audio input frame for active output slots, which will require data in the next audio output frame. For variable sample rate input, the tag bit for each input slot indicates whether valid data is present or not. Thus, even in variable sample rate mode, the CODEC is always the master: for SDATA_IN (CODEC to Controller), the CODEC sets the TAG bit; for SDATA_OUT (Controller to CODEC), the CODEC sets the SLOTREQ bit and then checks for the TAG bit in the next frame. Whenever VRA is set to 0, the PCM rate registers (2Ch and 32h) are overwritten with BB80h (48 KHz).
8.1.20.2.
SPDIF
The SPDIF bit in the Extended Audio Status Control Register is used to enable and disable the SPDIF functionality within the STAC9752/9753. If the SPDIF is set to a 1, then the function is enabled, and when set to a 0 it is disabled.
8.1.20.3.
SPCV (SPDIF Configuration Valid)
The SPCV bit is read only and indicates whether or not the SPDIF system is set up correctly. When SPCV is a 0, it indicates the SPDIF configuration is invalid. When SPCV is a 1, it indicates the SPDIF configuration is valid.
8.1.20.4.
SPSA1, SPSA0 (SPDIF Slot Assignment)
SPSA1 and SPSA0 combine to provide the slot assignments for the SPDIF data. The following details the slot assignment relationship between SPSA1 and SPSA0. The STAC9752/9753 are AMAP compliant with the following table.
IDTTM
62
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Table 19. AMAP compliant CODEC ID 00 01 10 11 Function 2-ch Primary w/SPDIF 2-ch Dock CODEC w/SPDIF +2-ch Surr w/ SPDIF SPSA = 00 SPSA = 01 SPSA = 10 SPSA = 11 slot assignment slot assignment slot assignment slot assignment 3&4 3&4 3&4 7 & 8* 7&8 7&8 6&9 6 & 9* 6 & 9* 6&9 10 & 11 10 & 11 10 & 11 10 & 11*
+2-ch Cntr/LFE w/ SPDIF 3&4 7&8 Note: * indicates the default slot assignment
8.1.21.
PCM DAC Rate Registers (2Ch and 32h)
The internal sample rate for the DACs and ADCs are controlled by a value in these read/write registers (that contain a 16-bit unsigned value between 0 and 65535) representing the conversion rate in Hertz (Hz). In VRA mode (register 2Ah bit D0 = 1), if the value written to these registers is supported, that value will be echoed back when read; otherwise the closest (higher in the case of a tie) sample rate is supported and returned. Per PC 99 / PC 2001 specification, independent sample rates are supported for record and playback. Whenever VRA is set to 0 the PCM rate registers (2Ch and 32h) will be loaded with BB80h (48 KHz). If VRA is set to a 0, any write to this address will be ignored and the rate remains at 48 KHz.
Table 20. Hardware Supported Sample Rates Sample Rate 8 KHz 11.025 KHz 16 KHz 22.05 KHz 32 KHz 44.1 KHz 48 KHz SR[15:0] Value 1F40h 2B11h 3E80h 5622h 7D00h AC44h BB80h
8.1.22.
PCM DAC Rate (2Ch)
Default: BB80h (see table20: page63)
D15 SR15 D7 SR7 D14 SR14 D6 SR6 D13 SR13 D5 SR5 D12 SR12 D4 SR4 D11 SR11 D3 SR3 D10 SR10 D2 SR2 D9 SR9 D1 SR1 D8 SR8 D0 SR0
8.1.23.
PCM LR ADC Rate (32h)
Default: BB80h (see table20: page63)
D15 SR15 D7 SR7 D14 SR14 D6 SR6 D13 SR13 D5 SR5 D12 SR12 D4 SR4 D11 SR11 D3 SR3 D10 SR10 D2 SR2 D9 SR9 D1 SR1 D8 SR8 D0 SR0
IDTTM
63
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.1.24.
SPDIF Control (3Ah)
Default: 2000h
D15 V D7 CC3 Bit(s) D14 DRS D6 CC2 Reset Value D13 SPSR1 D5 CC1 Access Name D12 SPSR2 D4 CC0 D11 L D3 PRE D10 CC6 D2 COPY D9 CC5 D1 /AUDIO D8 CC4 D0 PRO
15 in 2.3
V
Description (note 1-2) Validity: This bit affects the "Validity" flag, bit[28] transmitted in each S/PDIF subframe, and enables the S/PDIF transmitter to maintain connection during error or mute conditions. Subframe bit[28] = 0 indicates that data is valid for conversion at the receiver, 1 indicates invalid data (not suitable for conversion at the receiver).
14
0
13:12
10
11 10:4 3 2 1 0
0 0 0 0 0 0
If "V" = 1, then each S/PDIF subframe (Left & Right) should have bit[28] "Validity" flag = 1 or set based on the assertion or de-assertion of the AC'97 "VFORCE" bit within the Extended Audio Status and Control Register (D15, register 2Ah). Read Only DRS 1 = Double Rate SPDIF support (always = 0) SPDIF Sample Rate. 00 - 44.1 KHz Rate Read & Write SPSR[1,0] 01 - Reserved 10 - 48 KHz Rate (default) 11 - 32 KHz Rate Generation Level is defined by the IEC standard, or as Read & Write L appropriate. Category Code is defined by the IEC standard or as appropriate Read & Write CC[6, 0] by media. 0 = Pre-emphasis = 0 sec Read & Write PRE 1 = Pre-emphasis = 50/15 sec 0 = Copyright not asserted Read & Write COPY 1 = Copyright is asserted 0 = PCM data Read & Write /AUDIO 1 = Non-Audio or non-PCM format 0 = Consumer use of the channel Read & Write PRO 1 = Professional use of the channel
8.2.
General Purpose Input & Outputs
EAPD
EAPD can act as a GPIO, but is unaffected by the following registers. To use EAPD as a GPIO, use Register 74h, the EAPD Access Register located in Section 8.4.11: page77. Additional information about EAPD can also be found in Section 8.1.18.3: page 59.
8.2.1.
IDTTM
64
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.2.2.
GPIO Pin Definitions
GPIO pins are programmable to have input/output functionality. The data values (status) for these pins are all in one register with input/output configuration in a separate register. Control of GPIO pins configured for output is achieved by setting the corresponding bit in output slot 12; status of GPIO pins configured for input is returned on input slot 12. The CODEC must constantly set the GPIO pins that are configured for output, based upon the value of the corresponding bit position of the control slot 12. The CODEC should ignore output slot 12 bits that correspond to GPIO control pins configured as inputs. The CODEC must constantly update status on input slot 12, based upon the logic level detected at each GPIO pin configured for input. A GPIO output pin value that is written via slot 12 in the current frame will not affect the GPIO status that is returned in that particular write frame. This slot-12 based control/status protocol minimizes the latency and complexity, especially for host-based Controllers and host data pump software, and provides high speed monitoring and control, above what could be achieved with command/status slots. For host-based implementations, most AC`97 registers can be shadowed by the driver in order to provide immediate response when read by the processor, and GPIO pins configured as inputs should be capable of triggering an interrupt upon a change of status. The AC-Link request for GPIO pin status is always delayed by at least one frame time. Read-Modify-Write operations across the AC-Link will incur latency that must be accounted for by the software driver or AC`97 Digital Controller firmware. PCI retries should be kept to a minimum wherever possible.
8.2.3.
GPIO Pin Implementation
The GPIOs are set to a high impedance state on power-on or a cold reset. It is up to the AC`97 Digital Controller to first enable the output after setting it to the desired state.
8.2.4.
Extended Modem Status and Control Register (3Eh) Default: 0100h
D15 D7 Bit(s) 15:9 8 7:1 0 D14 D6 Access Read Only Read / Write Read Only Read Only D13 D5 Reset Value 0 1 0 0 D12 RESERVED D4 RESERVED Name RESERVED PRA RESERVED GPIO Description Bit not used, should read back 0 0 = GPIO powered up / enabled 1 = GPIO powered down / disabled Bit not used, should read back 0 0 = GPIO not ready (powered down) 1 = GPIO ready (powered up) D11 D3 D10 D2 D9 D1 D8 PRA D0 GPIO
IDTTM
65
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.2.5.
GPIO Pin Configuration Register (4Ch) Default: 0003h
D15 D7 D14 D6 D13 D5 D12 D11 RESERVED D4 D3 D10 D2 D9 D1 GC1 (GPIO1) Description Bit not used, should read back 0 0 = GPIO1 configured as output 1 = GPIO1 configured as input 0 = GPIO0 configured as output 1 = GPIO0 configured as input D8 D0 GC0 (GPIO0)
RESERVED Bit(s) 15:2 1 0 Access Read Only Read / Write Read / Write Reset Value 0 1 1 Name RESERVED GC1 GC0
8.2.6.
GPIO Pin Polarity/Type Register (4Eh) Default: FFFFh
D15 D7 D14 D6 D13 D5 D12 D11 RESERVED D4 D3 D10 D2 D9 D1 GP1 (GPIO1) D8 D0 GP0 (GPIO0)
RESERVED Bit(s) 15:2 1 Access Read Only Read / Write Reset Value 0 1 Name RESERVED GP1
0
Read / Write
1
GP0
Description Bit not used, should read back 0 0 = GPIO1 Input Polarity Inverted, CMOS output drive. 1 = GPIO1 Input Polarity Non-inverted, Open-Drain output drive. 0 = GPIO0 Input Polarity Inverted, CMOS output drive. 1 = GPIO0 Input Polarity Non-inverted, Open-Drain output drive.
8.2.7.
GPIO Pin Sticky Register (50h)
Default: 0000h
D15 D7 D14 D6 D13 D5 D12 D11 RESERVED D4 D3 D10 D2 D9 D1 GS1 (GPIO1) Description Bit not used, should read back 0 0 = GPIO1 Non Sticky configuration. 1 = GPIO1 Sticky configuration. 0 = GPIO0 Non Sticky configuration. 1 = GPIO0 Sticky configuration. D8 D0 GS0 (GPIO0)
RESERVED Bit(s) 15:2 1 0 Access Read Only Read / Write Read / Write Reset Value 0 0 0 Name RESERVED GS1 GS0
IDTTM
66
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.2.8.
GPIO Pin Mask Register (52h)
Default: 0000h
D15 D7 D14 D6 D13 D5 D12 D4 D11 D3 D10 D2 D9 D1 GW1 (GPIO1) D8 D0 GW0 (GPIO0)
RESERVED
RESERVED Bit(s) 15:2 1 0 Access Read Only Read / Write Read / Write Reset Value 0 0 0 Name RESERVED GW1 GW0
Description Bit not used, should read back 0 0 = GPIO1 interrupt not passed to GPIO_INT slot 12. 1 = GPIO1 interrupt is passed to GPIO_INT slot 12. 0 = GPIO0 interrupt not passed to GPIO_INT slot 12. 1 = GPIO0 interrupt is passed to GPIO_INT slot 12.
8.2.9.
GPIO Pin Status Register (54h)
Default: 0000h
D15 D7 D14 D6 D13 D5 D12 D11 D10 D2 D9 D1 GI1 (GPIO1) D8 D0 GI0 (GPIO0)
RESERVED D4 D3
RESERVED Bit(s) 15:2 Access Read Only
1
0
Reset Value Name Description 0 RESERVED Bits not used, should read back 0 When GPIO1 is configured as output and Register h74 bit[0] = 0 (default), the value of this register will be placed on the GPIO1 pad. When GPIO1 is configured as output and Register h74 bit[0] =1, the GPIO1 pad will get its value from slot12. Read / Write x GI1 When GPIO1 is configured as input and configured as a sticky bit, writing a 1 does nothing, writing a 0 clears this bit. When GPIO1 is configured as input, this register reflects the value on the GPIO1 pad after interpretation of the polarity and sticky configurations. When GPIO0 is configured as output and Register h74 bit[0] = 0 (default), the value of this register will be placed on the GPIO0 pad. When GPIO0 is configured as output and Register h74 bit[0] =1, the GPIO0 pad will get its value from slot12. Read / Write x GI0 When GPIO0 is configured as input and configured as a sticky bit, writing a 1 does nothing, writing a 0 clears this bit. When GPIO0 is configured as input, this register reflects the value on the GPIO0 pad after interpretation of the polarity and sticky configurations.
IDTTM
67
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.3.
Extended CODEC Registers Page Structure Definition
Registers 60h-68h are the Extended CODEC Registers: These registers allow for the definition of further capabilities. These bits provide a paged address space for extended CODEC information. The Page Selector bits in the Audio Interrupt and Paging register (Register 24h bits 3:0) control the page of information viewed through this page window.
8.3.1.
Extended Registers Page 00 Page 00 of the Extended CODEC Registers is reserved for vendor specific use. Driver writers should not access these registers unless the Vendor ID register has been checked first to ensure that the vendor of the AC'97 component has been identified and the usage of the vendor defined registers understood.
8.3.2.
Extended Registers Page 01 The usage of Page 01 of the Extended CODEC Registers is defined in Register 24h found in Section 8.1.17: page 57.
8.3.3.
Extended Registers Page 02, 03 Pages 02 and 03 of the Extended CODEC Registers are reserved for future use.
IDTTM
68
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.4.
STAC9752/9753 Paging Registers
The AC'97 Specification Rev 2.3 uses a paging mechanism in order to increase the number of registers. The registers currently used in the paging are 60h to 6Eh. For additional information about the Extended CODEC Registers, please refer to Section 8.3: page68. One of two pages can be made active at any time, set in Register 24h. Register 24h is the Audio Interrupt and Paging Register. Additional details about Register 24h is located in Section 8.1.17: page57. If page 00h is active, registers 60h to 6Eh are Vendor Specific. If page 01h is active, registers 60h to 6Eh have the following functionality:
Reg FUNCTION Provides the CODEC Class and a Vendor specified revision 60h CODEC Class/Revision identifier. Allows for population by the system BIOS to identify the PCI 62h PCI SVID Sub System Vendor ID. Allows for population by the system BIOS to identify the PCI 64h PCI SSID Sub System ID. Provides the type of audio function being selected and which 66h Function Select jack conductor the selected value is measured from. Includes information about Gain, Inversion, Buffer delays, 68h Function Information Information Validity, and Function Information presence. Includes information about the connector/jack location, Input 6Ah Sense Register verses Output sensing, the order of the sense results, and the IDT specific sense results. 6Ch Reserved 6Eh Reserved NAME Location 8.4.1: page69 8.4.2: page70 Note:: page70 Note:: page70 8.4.5: page72 8.4.7: page74
8.4.1.
CODEC Class/Rev (60h Page 01h)
Register 24h must be set to Page 01h to access this register. Default: 12xxh
D15 D7 RV7 D14 RESERVED D6 RV6 D13 D5 RV5 D12 CL4 D4 RV4 D11 CL3 D3 RV3 D10 CL2 D2 RV2 Description D9 CL1 D1 RV1 D8 CL0 D0 RV0
Bit(s) Reset Value Name 15-13 Reserved Reserved-not defined
IDTTM
69
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value
12-8
7-0
Description CODEC Compatibility Class (RO) This is a CODEC vendor specific field to define software compatibility for the CODEC. Software reads this field together with the CODEC vendor ID (reg 7C-7Eh) to determine vendor specific programming interface compatibility. Software can rely CL4:CL0 on vendor specific register behavior to be compatible among vendor CODECs of the same class. 00h - Field not implemented 01h-1Fh - Vendor specific compatibility class code Equals Vendor ID2 (Reg 7Eh) bits D7 to D0 Revision ID: (RO) This register specifies a device specific revision identifier. The value is chosen by the vendor. Zero is an acceptable value. This field should be viewed as a vendor RV7:RV0 defined extension to the CODEC ID. This number changes with new CODEC stepping of the same CODEC ID. Equals Major Rev bits (Reg 6Ch) bits D7 to D0.
Name
8.4.2.
PCI SVID (62h Page 01h)
Register 24h must be set to Page 01h to access this register. Default: FFFFh
D15 PVI15 D7 PVI7 D14 PVI14 D6 PVI6 Name D13 PVI13 D5 PVI5 D12 PVI12 D4 PVI4 D11 PVI11 D3 PVI3 D10 PVI10 D2 PVI2 D9 PVI9 D1 PVI1 D8 PVI8 D0 PVI0
Bit(s) Reset Value
15-0
Description PCI Sub System Vendor ID: This field provides the PCI Sub System Vendor ID of the Audio or Modem Sub PVI15:PVI0 Assembly Vendor (i.e., CNR Manufacturer, Motherboard Vendor). This is NOT the CODEC vendor PCI Vendor ID, nor the AC'97 Controller PCI Vendor ID. If data is not available, returns FFFFh.
Note: This register is populated by the BIOS and does not reset on RESET#.
8.4.3.
PCI SSID (64h Page 01h)
Register 24h must be set to Page 01h to access this register. Default: FFFFh
D15 PI15 D7 PI7 D14 PI14 D6 PI6 Name D13 PI13 D5 PI5 D12 PI12 D4 PI4 D11 PI11 D3 PI3 D10 PI10 D2 PI2 D9 PI9 D1 PI1 D8 PI8 D0 PI0
Bit(s) Reset Value
15-0
Description PCI Sub System ID: This field provides the PCI Sub System ID of the Audio or Modem Sub Assembly (i.e., CNR Model, Motherboard SKU). This is NOT the CODEC vendor PCI ID, nor PI15:PVI0 the AC'97 Controller PCI ID. Information in this field must be available for AC'97 controller reads when CODEC Ready is asserted in AC-Link. If data is not available, returns FFFFh.
Note: This register is populated by the BIOS and does not reset on RESET#.
IDTTM
70
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.4.4.
Function Select (66h Page 01h)
Register 24h must be set to Page 01h to access this register. Default: 0000h
D15 D7 D14 D6 RESERVED D13 D5 D12 D4 FC3 D11 D3 FC2 D10 D2 FC1 D9 D1 FC0 D8 D0 T/R RESERVED
Bit(s) Reset Value Name Description 15-5 Reserved Reserved Function Code bits: 00h - Line Out (Master Out) 01h - Head Phone Out (AUX Out) Setting the T/R bit to 0 = Left,1 = Right 02h - DAC 3 (C/LFE) - Not Supported 03h - SPDIF out 04h - Phone In 05h - Mic1 (Microphone select = 0) 06h - Mic2 (Microphone select = 1) 07h - Line In 08h - CD In 09h - Video In 4-1 00h FC3:FC0 0Ah - Aux In 0Bh - Mono Out 0C-0Fh - Reserved For supported Jack and Microphone Sense Functions, see Table21: page71. The Function Code Bits are used to read Register 68h (Page 01h) and Register 6Ah (Page 01h). Mono I/O should report relevant sense and function information on Tip, and report Not-Supported on Ring. Setting the function code to unsupported values will return a 0 when accessing the Information Valid Bit in Page 01, Register 68h, bit 5. Tip or Ring Selection Bit.This bit sets which jack conductor the sense value is measured from. Software will program the corresponding the Ring/Tip selector bit together with the I/O number in bits FC[3:0]. 0 - Tip (Left) 1 - Ring (Right)
0
0
T/R
Note: This register does not reset on RESET#. Table 21. Supported Jack and Microphone Sense Functions Function Code 00h 01h 05h 06h I/O Line_Out Headphone_Out Mic1 Mic2 Sense Capability Jack Sense Jack Sense Microphone Sense Microphone Sense
IDTTM
71
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.4.5.
Function Information (68h Page 01h)
Register 24h must be set to Page 01h to access this register. Default: 00xxh, see table 22: page73.
D15 G4 D7 DL2 D14 G3 D6 DL1 Name D13 G2 D5 DL0 D12 G1 D4 IV D11 G0 D3 D10 INV D2 RESERVED D9 DL4 D1 D8 DL3 D0 FIP
Bit(s) Reset Value
15
0
G4
14-11
0
G3:G0
10
INV
9-5
DL4:DL0
Description Gain Sign Bit: The CODEC updates this bit with the sign of the gain value present in G[3:0]. The BIOS updates this to take into consideration external amplifiers or other external logic when relevant. G[4] indicates whether the value is a gain or attenuation. Gain in the G4 bit is in terms of dB. This bit is Read/Write and is only reset on POR and not by RESET#. Gain Bits: The CODEC updates these bits with the gain value (db relative to level-out) in 1.5dBV increments. The BIOS updates these to take into consideration external amplifiers or other external logic when relevant. G[0:3] indicates the magnitude of the gain. G[4] indicates whether the value is a gain or attenuation. For Gain/Attenuation settings, see Table 23: page73. These bits are read/write and are not reset on RESET#. Inversion bit: Indicates that the CODEC presents a 180 degree phase shift to the signal. 0h - No inversion reported 1h - Inverted This bit is read/write and is not reset on RESET#. BIOS should invert for each inverting gain stage. Buffer delays: CODEC will provide number a delay measurement for the input and output channels. Software will use this value to accurately calculate audio stream position with respect to what is been reproduced or recorded. These values are in 20.83 s (1/48000 second) units. For output channels, this timing is from the end of AC Link frame in which the sample is provided, until the time the analog signal appears at the output pin. For input streams, this is from when the analog signal is presented at the pin until the representative sample is provided on the AC Link. Analog in and out paths are not considered as part of this delay. The measurement is a "typical" measurement, at a 48 KHz sample rate, with minimal in-CODEC processing (i.e., 3D effects are turned off.) 00h - Information not provided 01h...1Eh - Buffer delay in 20.83 s units 1Fh - reserved These bits are read/write and are not reset on RESET#. The default value is the delay internal to the CODEC. The BIOS may add to this value the known delays external to the CODEC, such as for an external amplifier.
IDTTM
72
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value
4
1
3-1 0
0 NA
Description Information Valid Bit: Indicates whether a sensing method is provided by the CODEC and if information field is valid. This field is updated by the CODEC. 0 - After CODEC RESET# de-assertion, it indicates the CODEC does NOT provides sensing logic and this bit will be Read Only. After a sense cycle is completed, indicates that no information is provided on the sensing method. IV 1 - After CODEC RESET# de-assertion, it indicates the CODEC provides sensing logic for this I/O and this bit is Read/Write. After clearing this bit by writing 1, when a sense cycle is completed the assertion of this bit indicates that there is valid information in the remaining descriptor bits. Writing 0 to this bit has no effect. BIOS should NOT write this bit, as it is reset on RESET#. RESERVED Bits not used, should read back 0 Function Information Present This bit set to a 1 indicates that the G[4:0], INV, DL[4:0] (Register 68h, Page 01h) FIP and ST[2:0] (register 6Ah, Page 01h) are supported and R/W capable. This bit is Read Only. Table 22. Reg 68h Default Values
Name
Reg 66h Function Code 00h Line Out 01h Headphone Out 05h Mic1 06h Mic2
Reg 68h Default Value 0010h 0010h 0010h 0010h
All other Function Codes 0000h For RESET#: Reg 68h default value is 0000h. Table 23. Gain or Attenuation Examples G[4:0] 00000 00001 01111 10001 11111 Gain or Attenuation (dB relative to level-out) 0 dBV +1.5 dBV +24 dBV -1.5 dBV -24 dBV Table 24. Register 68h/Page 01h Bit Overview Bit D15:D5 D4 D3:1 D0 Bit R/W Overview Read/Write and only reset on POR (Power on Reset) and not by RESET#. Read/Write and should NOT be set by the BIOS Reserved Read Only.
8.4.6.
Digital Audio Control (6Ah, Page 00h)
To access Register 6Ah, Page 00h must be selected in Register 24h.
IDTTM
73
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Default: 0000h
D15 D7 D14 D6 D13 D5 RESERVED D12 D11 RESERVED D4 D3 D10 D2 SPOR D9 D1 DO1 D8 D0 RSVD
Bit(s) Reset Value Name Description 15:3 0 RESERVED Bits not used, should read back 0 Over-ride Register 2Ah, D12 write-lock when SPDIF_EN = 1. 2 0 SPOR All bits except SPDIF sample-rate are affected (D13-D12). Allows for sub-code changing on-the-fly. SPDIF Digital Output Source Selection: 1 0 DO1 DO1 = 0; PCM data from the AC-Link to SPDIF DO1 = 1; ADC record data to SPDIF 0 0 RESERVED Bits not used, should read back 0
8.4.7.
Sense Details (6Ah Page 01h)
Register 24h must be set to Page 01h to access this register. Default: NA
D15 ST2 D7 OR1 D14 ST1 D6 OR0 Name D13 ST0 D5 SR5 D12 S4 D4 SR4 D11 S3 D3 SR3 D10 S2 D2 SR2 D9 S1 D1 SR1 D8 S0 D0 SR1
Bit(s) Reset Value
15-13
12-8
Description Connector/Jack location bits This field describes the location of the jack in the system. 0h - Rear I/O Panel 1h - Front Panel ST2:ST0 2h - Motherboard 3h - Dock/External 4h:6h - Reserved 7h - No Connection/unused I/O These bits are Read/Write. Sensed bits meaning relates to the I/O being sense as output or inputs. Sensed bits (outputs): See Table 25: page75. This field allows for the reporting of the type of output peripheral/device plugged in the jack. Values specified below should be interrogated in conjunction with the SR[5:0] and OR[1:0] bits for accurate reporting. S4:S0 Sensed bits (inputs): See Table 26: page75. This field allows for the reporting of the type of input peripheral/device plugged in the jack. Values specified below should be interrogated in conjunction with the SR[5:0] and OR[1:0] bits for accurate reporting. This field is Read Only.
IDTTM
74
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value
7-6
5-0
Description Order Bits. These bits indicate the order the sense result bits SR[5:0] are using. 00 - 100 (i.e., Ohms) OR1:0 01 - 101 (i.e., 10 Ohms) 10 - 102 (i.e., 100 Ohms) 11 - 103 (i.e., 1K Ohms) Sense Result bits SR5:SR0 These bits are used to report a vendor specific fingerprint or value. (Resistance, impedance, reactance, etc.). This field is Read Only. Table 25. Sensed Bits (Outputs)
Name
Reported Value 0h 1h 2h 3h 4h 5h 6h 7h 8h 9h Ah Bh-Eh Fh
Output Peripheral/Device Data not valid. Indicates that the reported value(s) is (are) invalid. No connection. Indicates that there are no connected devices. Fingerprint. Indicates a specific fingerprint value for devices that are not specified or unknown. Speakers (8 ohms) Speakers (4 ohms) Powered Speakers Stereo Headphone Reserved Reserved Headset (mono speaker left channel and microphone.) Other. Allows a vendor to report sensing other type of devices/peripherals. SR[5:0] together with OR[1:0] provide information regarding the type of device sensed. Reserved Unknown (use fingerprint) Table 26. Sensed Bits (Inputs)
Reported Value 0h 1h 2h 3h 4h 5h 6h 7h 8h 9h Ah Bh-Eh Fh
Input Peripheral/Device Data not valid. Indicates that the reported value(s) is (are) invalid. No connection. Indicates that there are no connected devices. Fingerprint. Indicates a specific fingerprint value for devices that are not specified. Microphone (mono) Reserved Stereo Line In (CE device attached) Reserved Reserved Reserved Headset (mono speaker left channel and microphone.) Other. Allows a vendor to report sensing other type of devices/peripherals. SR[5:0] together with OR[1:0] provide information regarding the type of device sensed. Reserved Unknown (use fingerprint)
IDTTM
75
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.4.8.
Revision Code (6Ch)
To access Register 6Ch, Page 00h must be selected in Register 24h. Default: 00xxh
D15 D7 D14 D6 D13 D5 D12 D11 D10 D2 D9 D1 D8 D0 MINORREV D4 D3 MAJORREV
Bit(s) Reset Value 15:8 7:0 00h xxh
Description Minor Revision ID. These bits are read only and will be updated based on minor MINORREV device changes which will not require software changes. Major Revision ID. These bits are read only and will be updated based on major MAJORREV device changes.
Name
8.4.9.
Analog Special (6Eh)
To access Register 6Eh, Page 00h must be selected in Register 24h. Default: 1000h
D15 D7 RSVD D14 RESERVED D6 MUTEFIX DISABLE D5 ADCSLT1 Name RESERVED D13 D12 AC97MIX D4 ADCSLT0 D3 RSVD D2 MIC GAIN VAL D11 D10 D9 RESERVED D1 SPLYOVR EN D0 SPLYOVR VAL D8
Bit(s) Reset Value 15:13 0
12
1
AC97MIX
11:7
0
RESERVED MUTEFIX DISABLE
6
0
5:4
0
ADCSLT1:0
Description Bits not used, should read back 0 0 = Mixer record contains a mix of all mono and stereo analog input signals, not the DAC (ALL ANALOG mode). 1 = Mixer record contains a mix of all mono and stereo analog input signals plus the DAC signal (AC'97 mode). This bit only has an effect when either Stereo Mix or Mono Mix is selected as the record source in Reg 1Ah. The "ALL" mode is useful in conjunction with the POP BYPASS mode (Reg 20h; D15) to record all analog sources, perform further processing in the digital domain, including combining with other PCM data, and routing through the DACs directly to Line Out, Headphone Out, or Mono Out. A Stereo Mix recording will be affected by the setting of the 3D Effects bit (Reg 20h; D13) Bits not used, should read back 0 0 = MUTE FIX Enabled 1 = MUTE FIX Disabled When this bit is zero, and either channel is set to -46.5dB attenuation (1Fh), then that channel is fully muted. When this bit is one, then operation is per AC'97 specification. Select slots for ADC data on ACLINK 00 = Left slot 3, right slot 4 01 = Left slot 7, right slot 8 10 = Left slot 6, right slot 9 11 = Left slot 10, right slot 11
IDTTM
76
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value 3 0
2
0
1
0
0
0
Description RESERVED Adds +10dB gain to the selected MIC input. Use in conjunction with BOOSTEN (Reg. 0Eh;D6) BOOSTEN MICGAINVAL MIC GAIN VAL 0 0 = 0 dB 0 1 = 10 dB 1 0 = 20 dB 1 1 = 30 dB Supply Override bit allows override of the supply detect. SPLYOVR_EN 0 = No override on supply detect 1 = Override supply detect with bit 0 Supply Override Value provides the analog voltage operation values. SPLYOVR_VA 0 = Force 3.3 v operation L 1 = Force 5 V operation
Name RESERVED
8.4.10.
Analog Current Adjust (72h)
To unlock Register 72h, write 0xABBA to Register 70h. Default: 0000h
D15 D7 INT APOP Bit(s) Reset Value 15:8 0 Name Reserved D14 D6 D13 D5 D12 D11 D10 D2 D9 D1 D8 D0
RESERVED D4 D3 RESERVED
7
0
6:0
0
Description Reserved 0 = Anti Pop Enabled 1 = Anti Pop Disabled The STAC9752/9753 includes an internal power supply anti-pop circuit that prevents audible clicks and pops from being heard when the CODEC is powered on and off. This function is accomplished by delaying the charge/discharge of the VREF capacitor (Pin 27). A CVREF value of 1 F will cause a turn-on delay of INT_APOP roughly 3 seconds, which will allow the power supplies to stabilize before the CODEC outputs are enabled. The delay will be extended to 30 seconds if a CVREF value of 10 F is used. The CODEC outputs are also kept stable for the same amount of time at power-off to allow the system to be gracefully turned off. The Anti Pop bit allows this delay circuit to be bypassed for rapid production testing. Any external component anti-pop circuit is unaffected by the internal circuit. Reserved Reserved
8.4.11.
EAPD Access Register (74h)
Default: 0800h
D15 EAPD D7 D14 D6 D13 RESERVED D5 RESERVED D12 D4 D11 EAPD_OEN D3 D10 D2 INTDIS D9 RESERVED D1 GPIOACC D8 D0 GPIOSLT12
IDTTM
77
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Bit(s) Reset Value 15 14:12 11 10:3 0 0 1 0
2
0
1
0
0
0
Description EAPD data Enable EAPD EAPD data is output on the EAPD pin when bit D11 = 1 EAPD data is input on the EAPD pin when bit D11 = 0 Reserved Bits not used, should read back 0 EAPD Pin Enable EAPD_OEN 0 = EAPD configured as input pin 1 = EAPD configured as output pin Reserved Bits not used, should read back 0 Interrupt disable option. Interrupts cleared by writing a 1 to I4 (Reg24h:D15) INTDIS 0 = Will clear both SENSE and GPIO interrupts 1 = Will only clear SENSE interrupts. GPIO interrupts will have to be cleared in Reg54h. GPIO ACCESS GPIOACC 0 = ACLINK access from GPIO Pads 1 = ACLINK access from GPIO Register 54h 0 = GPIO0/1 access via Reg 54h when GPIO is set as an output, for input, Slot 12 data will be 0h. 1 = GPIO0/1 access via Slot 12 when GPIO is set as an output, for inputs, GPIOSLT12 Reg54h will not be updated. This can only be used if a modem CODEC is not present in the system and using Slot 12.
Name
8.4.12.
High Pass Filter Bypass (78h)
To unlock Register 78h, write 0xABBA to Register 76h. Default: 0000h
D15 D7 D14 D6 D13 D5 D12 D4 RESERVED D11 RESERVED D3 D2 D1 D0 ADC HPF BYP D10 D9 D8
Bit(s) Reset Value 15:1 0 0 0
Description Bits not used, should read back 0 0 = ADC High Pass Filter active, (Normal operation) ADC HPF BYP 1 = ADC High Pass Filter Bypass
Name RESERVED
IDTTM
78
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
8.5.
Vendor ID1 and ID2 (Index 7Ch and 7Eh)
These two registers contain four 8-bit ID codes. The first three codes have been assigned by Microsoft using their Plug and Play Vendor ID methodology. The fourth code is a manufacturer assigned code identifying the STAC9752/9753. The ID1 register (index 7Ch) contains the value 8384h, which is the first (83h) and second (84h) bytes of the Microsoft ID code. The ID2 register (index 7Eh) contains the value 7652h, which is the third (76h) byte of the Microsoft ID code, and 52h which is the STAC9752/9753 ID code.
8.5.1.
Vendor ID1 (7Ch)
Default: 8384h
D15 1 D7 1 D14 0 D6 0 D13 0 D5 0 D12 0 D4 0 D11 0 D3 0 D10 0 D2 1 D9 1 D1 0 D8 1 D0 0
8.5.2.
Vendor ID2 (7Eh)
Default: 7652h
D15 0 D7 0 D14 1 D6 1 D13 1 D5 0 D12 1 D4 1 D11 0 D3 0 D10 1 D2 0 D9 1 D1 1 D8 0 D0 0
IDTTM
79
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
9. LOW POWER MODES
The STAC9752/9753 is capable of operating at reduced power when no activity is required. The state of power down is controlled by the Powerdown Register (26h). There are 7 commands of separate power down. The power down options are listed in Table 27. The first three bits, PR[2:0], can be used individually or in combination with each other, and control power distribution to the ADCs, DACs and Mixer. The last analog power control bit, PR3, affects analog bias and reference voltages, and can only be used in combination with PR0, PR1, and PR2. PR3 essentially removes power from all analog sections of the CODEC, and is generally only asserted when the CODEC will not be needed for long periods. PR0 and PR1 control the PCM ADCs and DACs only. PR2 and PR3 do not need to be "set" before a PR4, but PR0 and PR1 should be "set" before PR4. PR5 disables the DSP clock and does not require an external cold reset for recovery. PR6 disables the headphone driver amplifier for additional analog power saving.
Table 27. Low Power Modes GRP Bits PR0 PR1 PR2 PR3 PR4 PR5 PR6 Function PCM_In ADCs & Input Mux Powerdown PCM_Out DACs Powerdown Analog Mixer powerdown (VREF still on) Analog Mixer powerdown (VREF off) Digital Interface (AC-Link) powerdown (BIT_CLK forced low) Digital Clock disable, BIT_CLK still on Powerdown HEADPHONE_OUT
Figure 22. Example of STAC9752/9753 Powerdown/Powerup flow
PR0=1 PR1=1 PR2=1 PR4=1
Normal
ADCs off PR0
DACs off PR1
Analog off PR2 or PR3
Digital I/F off PR4
Shut off AC-Link
PR0=0 & ADC=1
PR1=0 & DAC=1
PR2=0 & ANL=1
Warm Reset
Ready =1
Default
Cold Reset
The Figure 22 illustrates one example procedure to do a complete powerdown of STAC9752/9753. From normal operation, sequential writes to the Powerdown Register are performed to power down STAC9752/9753 a section at a time. After everything has been shut off, a final write (of PR4) can be executed to shut down the AC-Link. The part will remain in sleep mode with all its registers holding their static values. To wake up, the AC'97 controller will send an extended pulse on the sync line, issuing a warm reset. This will restart the AC-Link (resetting PR4 to zero). The STAC9752/9753 can also be woken up with a cold reset. A cold reset will reset all of the registers to their default states (Paged Registers are semi-exempt). When a section is powered back on, the Powerdown Control/ Status register (index 26h) should be read to verify that the section is ready (stable) before attempting any operation that requires it.
IDTTM
80
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Figure 23. Powerdown/Powerup flow with analog still alive
PR0=1
PR1=1
PR4=1
Normal
ADCs off PR0
DACs off PR1
Digital I/F off PR4
Shut off AC-Link
PR0=0 & ADC=1
PR1=0 & DAC=1
Warm Reset
Figure 23 illustrates a state when all the mixers should work with the static volume settings that are contained in their associated registers. This configuration can be used when playing a CD (or external LINE_IN source) through STAC9752/9753 to the speakers, while most of the system in low power mode. The procedure for this follows the previous except that the analog mixer is never shut down.
IDTTM
81
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
10. MULTIPLE CODEC SUPPORT
The STAC9752/9753 provides support for the multi-CODEC option according to the Intel AC'97, rev 2.3 specification. By definition, there can be only one Primary CODEC (CODEC ID 00) and up to three Secondary CODECs (CODEC IDs 01,10, and 11). The CODEC ID functions as a chip select. Secondary devices therefore have completely orthogonal register sets; each is individually accessible and they do not share registers.
10.1. Primary/Secondary CODEC Selection
In a multi-CODEC environment the CODEC ID is provided by external programming of pins 45 and 46 (CID0 and CID1). The CID pin electrical function is logically inverted from the CODEC ID designation. The corresponding pin state and its associated CODEC ID are listed in the "CODEC ID Selection" table.
Table 28. CODEC ID Selection CID1 State Dvdd or floating Dvdd or floating 0V 0V CID0 State Dvdd or floating 0V Dvdd or floating 0V CODEC ID 00 01 10 11 CODEC Status Primary Secondary Secondary Secondary
10.1.1.
Primary CODEC Operation
As a Primary device, the STAC9752/9753 is completely compatible with existing AC'97 definitions and extensions. Primary CODEC registers are accessed exactly as defined in the AC'97 Component Specification and AC'97 Extensions. The STAC9752/9753 operates as Primary by default, and the external ID pins (45 and 46), have internal pull-ups so that these pins may be left as no-connects for operation as a primary. When used as the Primary CODEC, the STAC9752/9753 generates the master AC-Link BIT_CLK for both the AC'97 Digital Controller and any Secondary CODECs. The STAC9752/9753 can support up to four loads of 10 K and 50 pF on the BIT_CLK output. This is to ensure that up to four CODEC implementations will not load down the clock output.
10.1.2.
Secondary CODEC Operation
When the STAC9752/9753 is configured as a Secondary device the BIT_CLK pin is configured as an input at power up. Using the BIT_CLK provided by the Primary CODEC insures that everything on the AC-Link will be synchronous. As a Secondary device it can be defined as CODEC ID 01, 10, or 11 in the two-bit field(s) of the Extended Audio and/or Extended Modem ID Register(s).
IDTTM
82
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
10.2. Secondary CODEC Register Access Definitions
The AC'97 Digital Controller can independently access Primary and Secondary CODEC registers by using a 2-bit CODEC ID field (chip select) which is defined as the LSBs of Output Slot 0. For Secondary CODEC access, the AC'97 Digital Controller must invalidate the tag bits for Slot 1 and 2 Command Address and Data (Slot 0, bits 14 and 13) and place a non-zero value (01, 10, or 11) into the CODEC ID field (Slot 0, bits 1 and 0). As a Secondary CODEC, the STAC9752/9753 will disregard the Command Address and Command Data (Slot 0, bits 14 and 13) tag bits when it sees a 2-bit CODEC ID value (Slot 0, bits 1 and 0) that matches its configuration. In a sense the Secondary CODEC ID field functions as an alternative Valid Command Address (for Secondary reads and writes) and Command Data (for Secondary writes) tag indicator. Secondary CODECs must monitor the Frame Valid bit, and ignore the frame (regardless of the state of the Secondary CODEC ID bits) if it is not valid. AC'97 Digital Controllers should set the frame valid bit for a frame with a secondary register access, even if no other bits in the output tag slot except the Secondary CODEC ID bits are set. This method is designed to be backward compatible with existing AC'97 controllers and CODECs. There is no change to output Slot 1 or 2 definitions.
Table 29. Secondary CODEC Register Access Slot 0 Bit Definitions Output Tag Slot (16-bits) Bit 15 14 13 12-3 2 1-0 Note: Description Frame Valid Slot 1 Valid Command Address bit (Primary CODEC only) Slot 2 Valid Command Data bit (Primary CODEC only) Slot 3-12 Valid bits as defined by AC'97 Reserved (Set to 0)
2-bit CODEC ID field (00 reserved for Primary; 01, 10, 11 indicate Secondary) New definitions for Secondary CODEC Register Access
Using three CODECs typically requires a controller to support SDATA_IN2.
IDTTM
83
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
11. TESTABILITY
The STAC9752/9753 has two test modes. One is for ATE in-circuit test and the other is restricted for manufacturer's internal use. The STAC9752/9753 enters the ATE in-circuit test mode if SDATA_OUT is sampled high at the trailing edge of RESET#. Once in the ATE test mode, the digital AC-Link outputs (BIT_CLK and SDATA_IN) are driven to a high impedance state. This allows ATE in-circuit testing of the AC'97 controller. Use of the ATE test mode is the recommended means of removing the CODEC from the AC-Link when another CODEC is to be used as the primary. This case will never occur during standard operating conditions. Once either of the two test modes have been entered, the STAC9752/9753 must be issued another RESET# with all AC-Link signals held low to return to the normal operating mode.
Table 30. Test Mode Activation SYNC 0 0 1 1 SDATA_OUT 0 1 0 1 Description Normal AC'97 operation ATE Test Mode IDT Internal Test Mode Reserved
11.0.1.
ATE Test Mode
ATE test mode allows for in-circuit testing to be completed at the board level. For this to work, the outputs of the device must be driven to a high impedance state (Z). Internal pullups for digital I/O pins must be disabled in this mode. This mode initiates on the rising edge of RESET# pin. Only a cold reset will exit the ATE Test Mode.
Table 31. ATE Test Mode Operation Pin Name SDATA_OUT BIT_CLK SDATA_IN SYNC RESET# N.C. N.C. N.C. GPIO0 GPIO1 CID0 CID1 EAPD SPDIF Pin # 5 6 8 10 11 31 33 34 43 44 45 46 47 48 Function 1 Z Z 0 1 Z Z Z Z Z Z Z Z Z Always an input Always an input Always an input Must be held low at rising edge of RESET# Description Must be held high at the rising edge of RESET#
Note: Pins 31, 33, and 34 are NO CONNECTS.
IDTTM
84
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
12. PIN DESCRIPTION
LINE_OUT_R LINE_OUT_L NC NC CAP2 NC AFILT2 AFILT1 VREFout VREF AVss1 AVdd1 MONO_OUT AVdd2 HP_OUT_L HP_COMM HP_OUT_R AVss2 GPIO0 GPIO1 CID0 CID1 EAPD SPDIF 37 38 39 40 41 42 43 44 45 46 47 48 36 35 34 33 32 31 30 29 28 27 26 25
48-Pin TQFP
24 23 22 21 20 19 18 17 16 15 14 13
LINE_IN_R LINE_IN_L MIC2 MIC1 CD_R CD_GND CD_L VIDEO_R VIDEO_L AUX_R AUX_L PHONE
Figure 24. Pin Description Drawing Pin 48: To Enable SPDIF, use a 1 K-10 K external pulldown. To Disable SPDIF, use a 1 K- 1 0 K external pullup. Do NOT leave Pin 48 floating. The CD_GND signal is an AC signal return for the two CD input channels. It is normally biased at about 2.5V. The name of the pin in the AC97 specification is CD_GND, and this has confused many designers. It should not have any DC path to GND. Connecting the CD_GND signal directly to ground will change the internal bias of the entire CODEC, and cause serious distortion. If there is no analog CD input, then this pin can be No-Connect.
IDTTM
DVdd1 1 XTL_IN 2 XTL_OUT 3 DVss1 4 SDATA_OUT 5 BIT_CLK 6 DVss2 7 SDATA_IN 8 DVdd2 9 SYNC 10 RESET# 11 PC_BEEP 12
85 STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
12.1. Digital I/O
These signals connect the STAC9752/9753 to its AC'97 controller counterpart, an external crystal, multi-CODEC selection and external audio amplifier.
Table 32. Digital Connection Signals Pin Name XTL_IN XTL_OUT SDATA_OUT BIT_CLK SDATA_IN SYNC RESET# N.C. N.C. N.C. GPIO0 GPIO1 CID0 CID1 EAPD Pin # 2 3 5 6 8 10 11 31 33 34 43 44 45 46 47 Type I I/O I I/O O I I I I I/O I/O I/O I I I/O Description 24.576 MHz Crystal or External Clock Source 24.576 MHz Crystal Serial, time division multiplexed, AC'97 input stream 12.288 MHz serial data clock Serial, time division multiplexed, AC'97 output stream 48 KHz fixed rate sample sync AC'97 Master H/W Reset IDT Internal Test mode only. IDT Internal Test mode only IDT Internal Test mode only General Purpose I/O General Purpose I/O Multi-CODEC ID select - bit 0 Multi-CODEC ID select - bit 1 External Amplifier Power Down/GPIO SPDIF digital output Pin 48: To Enable SPDIF, use an 1 K - 10 K external pulldown. To Disable SPDIF, use an 1 K - 1 0 K external pullup. Do NOT leave Pin 48 floating.
SPDIF
48
I/O
Note: Pins 31, 33, and 34 are NO CONNECTS.
IDTTM
86
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
12.2. Analog I/O
These signals connect the STAC9752/9753 to analog sources and sinks, including microphones and speakers.
Table 33. Analog Connection Signals Pin Name PC_BEEP PHONE AUX_L AUX_R VIDEO_L VIDEO_R CD_L CD_GND CD_R MIC1 MIC2 LINE_IN_L LINE_IN_R LINE_OUT_L LINE_OUT_R MONO_OUT HP_OUT_L HP_COMM HP_OUT_R
Pin # 12 13 14 15 16 17 18 19 20 21 22 23 24 35 36 37 39 40 41
Type I* I* I* I* I* I* I* I* I* I* I* I* I* O O O O O O
Description PC Speaker beep pass-through From telephony subsystem speakerphone Aux Left Channel Aux Right Channel Video Audio Left Channel Video Audio Right Channel CD Audio Left Channel CD Audio analog signal return (Do NOT ground. See note. ) CD Audio Right Channel Desktop Microphone Input Second Microphone Input Line In Left Channel Line In Right Channel Line Out Left Channel Line Out Right Channel To telephony subsystem speakerphone Headphone Out Left Channel Headphone Ground Return Headphone Out Right Channel
Note: * Unused input pins should be tied together and connected to ground through a capacitor (0.1 F suggested), except the MIC inputs which should have a separate capacitor to ground. Note: The CD_GND signal is an AC signal return for the two CD input channels. It is normally biased at about 2.5V. The name of the pin in the AC97 specification is CD_GND, and this has confused many designers. It should not have any DC path to GND. Connecting the CD_GND signal directly to ground will change the internal bias of the entire CODEC, and cause serious distortion. If there is no analog CD input, then this pin can be No-Connect.
IDTTM
87
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
12.3. Filter/References
These signals are connected to resistors, capacitors, or specific voltages.
Table 34. Filtering and Voltage References Signal Name VREF VREFOUT AFILT1 AFILT2 CAP2 Pin Number 27 28 29 30 32 Type O O O O O Description Analog ground (0.45 * Vdd, at 5 V; or 0.41 * Vdd at 3 V) Reference Voltage out 5 mA drive (intended for microphone bias) (~Vdd/2) Anti-Aliasing Filter Cap - ADC left channel Anti-Aliasing Filter Cap - ADC right channel ADC reference Cap
12.4. Power and Ground Signals
Table 35. Power and Ground Signals Pin Name AVdd1 AVdd2 AVss1 AVss2 DVdd1 DVdd2 DVss1 DVss2 Pin # 25 38 26 42 1 9 4 7 Type I I I I I I I I Description Analog Vdd = 5.0 V or 3.3 V Analog Vdd = 5.0 V or 3.3 V Analog Gnd Analog Gnd Digital Vdd = 3.3 V Digital Vdd = 3.3 V Digital Gnd Digital Gnd
IDTTM
88
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
13. ORDERING INFORMATION
Part Number STAC9752XXTAEyyX STAC9753XXTAEyyX Package 48-pin RoHS QFP 7mm x 7mm x 1.4mm 48-pin RoHS QFP 7mm x 7mm x 1.4mm Temp Range 0 C to +70 C 0 C to +70 C Supply Range DVdd = 3.3V, AVdd = 5.0V DVdd = 3.3V, AVdd = 3.3V
yy = 2 digit revision. Contact Sales for complete ordering number. Add an "R" to the end of the Part number for Tape and Reel delivery. Minimum order quantitiy is 2ku.
14. PACKAGE DRAWING
A2
D D1
b
A A1
Key
A A1 A2 D D1 E E1 L e c b
c
LQFP Dimensions in mm Min. Nom. Max.
1.40 0.05 1.35 8.80 6.90 8.80 6.90 0.45 0.09 0.17 1.50 0.10 1.40 9.00 7.00 9.00 7.00 0.60 0.50 0.22 0.20 0.27 1.60 0.15 1.45 9.20 7.10 9.20 7.10 0.75
E1
48 pin LQFP
e
Pin 1
IDTTM
E
89
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
15. SOLDER REFLOW PROFILE 15.1. Standard Reflow Profile Data
Note: These devices can be hand soldered at 360 oC for 3 to 5 seconds. FROM: IPC / JEDEC J-STD-020C "Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices" (www.jedec.org/download).
Profile Feature Average Ramp-Up Rate (Tsmax - Tp) Preheat Temperature Min (Tsmin ) Temperature Max (Tsmax) Time (tsmin - ts max) Temperature (T L) Time (t L) 3 oC / second max 150 o C 200 o C 60 - 180 seconds 217 o C 60 - 150 seconds See "Package Classification Reflow Temperatures" on page 91. 20 - 40 seconds 6 oC / second max 8 minutes max Pb Free Assembly
Time maintained above
Peak / Classification Temperature (Tp) Time within 5 o C of actual Peak Temperature (tp) Ramp-Down rate Time 25 oC to Peak Temperature
Note: All temperatures refer to topside of the package, measured on the package body surface.
Figure 25. Reflow Profile
IDTTM
90
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
15.2. Pb Free Process - Package Classification Reflow Temperatures
Package Type TQFP 48-pin MSL 3 Reflow Temperature 260 o C*
IDTTM
91
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
16. APPENDIX A: PROGRAMMING REGISTERS
Reg # 00h 02h 04h 06h 0Ah 0Ch 0Eh 10h 12h 14h 16h 18h 1Ah 1Ch 20h 22h 24h 26h 28h 2Ah 2Ch 32h 3Ah 3Eh 4Ch 4Eh 50h 52h 54h 60h Page 01h 62h 62h Page 01h 64h 64h Page 01h 66h 66h Page 01h 68h 68h Page 01h 6Ah 6Ah Page 01h 6Ch Function Information Digital Audio Control Sense Details Revision Code ST2 0 ST1 0 ST0 0 S4 0 S3 0 S2 0 G4 G3 G2 G1 G0 INV Function Select PCI SID PI15 PI14 PI13 PI12 PI11 PI10 PCI SVID PVI15 PVI14 PVI13 PVI12 PVI11 PVI10 Name Reset Master Volume HP_OUT Mixer Volume Master Volume Mono PC_BEEP Volume Phone volume Mic Volume Line In Volume CD Volume Video Volume AUX Volume PCM Out Volume Record Select Record Gain General Purpose 3D Control Audio Int. & Paging Powerdown Ctrl/Stat Extended Audio ID I4 EAPD ID1 I3 PR6 ID0 PRL/ RSVD SR14 SR14 DRS I2 PR5 PRK/ RSVD SR13 SR13 I1 PR4 PRJ/ RSVD SR12 SR12 I0 PR3 REV1 PRI/ RSVD SR11 SR11 L PR2 REV0 SPCV SR10 SR10 CC6 PR1 AMAP MADC/ RSVD SR9 SR9 CC5 PR0 LDAC SDAC LDAC/ SDAC/ RSVD RSVD SR8 SR8 CC4 PRA RESERVED RESERVED RESERVED RESERVED RESERVED SR7 SR7 CC3 Mute POP BYP D15 RSRVD Mute Mute Mute Mute Mute Mute Mute Mute Mute Mute Mute RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RSRVD 3D GL3 RESERVED GL4 GL4 GL4 GL4 GL4 GL3 GL3 GL3 GL3 GL3 X X F7 F6 D14 SE4 RSRVD D13 SE3 ML5 D12 SE2 ML4 HPL4 D11 SE1 ML3 HPL3 D10 SE0 ML2 HPL2 D9 ID9 ML1 HPL1 D8 ID8 ML0 HPL0 D7 ID7 D6 ID6 D5 ID5 MR5 HPR5 MM5 F F3 F2 F1 boosten GL1 GL1 GL1 GL1 GL1 SL1 GL1 MIX RESERVED RESERVED RESERVED CDAC CDAC/ RSVD SR6 SR6 CC2 DSA1 DSA0 GL0 GL0 GL0 GL0 GL0 SL0 GL0 MS LPBK RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED GR3 F0 RSVD D4 ID4 MR4 HPR4 MM4 PV3 GN4 GN4 GR4 GR4 GR4 GR4 GR4 D3 ID3 MR3 HPR3 MM3 PV2 GN3 GN3 GR3 GR3 GR3 GR3 GR3 D2 ID2 MR2 HPR2 MM2 PV1 GN2 GN2 GR2 GR2 GR2 GR2 GR2 SR2 GR2 D1 ID1 MR1 HPR1 MM1 PV0 GN1 GN1 GR1 GR1 GR1 GR1 GR1 SR1 GR1 D0 ID0 MR0 HPR0 MM0 RSRVD GN0 GN0 GR0 GR0 GR0 GR0 GR0 SR0 GR0 Default 6A90h 8000h 8000h 8000h 0000h 8008h 8008h 8808h 8808h 8808h 8808h 8808h 0000h 8000h 0000h RESERVED PG1 DAC DRA DRA/ RSVD SR1 SR1 #PCM/ AUDIO GC1 (GPIO1) GP1 (GPIO1) GS1 (GPIO1) GW1 (GPIO1) GI1 (GPIO1) RV7 RV6 RV5 RV4 RV3 RV2 RV1 PG0 ADC VRA VRA SR0 SR0 PRO GPIO GC0 (GPIO0) GP0 (GPIO0) GS0 (GPIO0) GW0 (GPIO0) GI0 (GPIO0) RV0 0000h 0000h 000Fh 0A05h 0400h* BB80h BB80h 2000h 0100h 0300h FFFFh 0000h 0000h 0000h
RESERVED RESERVED
RSRVD HPL5
RESERVED F5 RESERVED RESERVED GL2 GL2 GL2 GL2 GL2 SL2 GL2
RESERVED DP3 PG3 REF RSVD VRM/ RSVD SR3 SR3 PRE DP2 PG2 ANL SPDIF SPDIF SR2 SR2 COPY
RESERVED
Extended Audio Control/Status VCFG PCM DAC Rate PCM LR ADC Rate SPDIF Control Extended Modem Status GPIO Pin Config GPIO Pin Polarity/Type GPIO Pin Sticky GPIO Pin Mask GPIO Pin Status SR15 SR15 V
SPSA1 SPSA0 SR5 SR5 CC1 SR4 SR4 CC0
SPSR1 SPSR2 RESERVED
RESERVED
CODEC Class/Rev
RESERVED
CL4
CL3
CL2
CL1
CL0
12xxh
VENDOR RESERVED PVI9 PVI8 PVI7 PVI6 PVI5 PVI4 PVI3 PVI2 PVI1 PVI0 FFFFh
VENDOR RESERVED PI9 PI8 PI7 PI6 PI5 PI4 PI3 PI2 PI1 PI0 FFFFh
VENDOR RESERVED RESERVED VENDOR RESERVED DL4 RESERVED DL3 DL2 DL1 DL0 IV RESERVED SPOR DO1 FIP RSVD xxxxh 0000h FC3 FC2 FC1 FC0 T/R 0000h
S1 0
S0 0
OR1 0
OR0 0
SR5 0
SR4 0
SR3 x
SR2 x
SR1 x
SR0 x
NA 00xxh
IDTTM
92
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Reg # 6Ch Page 01h 6Eh 6Eh Page 01h 70h 72h 74h 76h 78h 7Ah 7Ch 7Eh
Name
D15
D14
D13
D12
D11
D10
D9
D8 RESERVED
D7
D6
D5
D4
D3
D2
D1
D0
Default
Analog Special
RESERVED
AC97 ALL MIX
RESERVED
MUTE FIX DISABLE
ADC slot1
ADC slot0
RSVD
MIC GAIN VALUE
SPLY OVR EN
SPLY OVR 1000h VAL
RESERVED VENDOR RESERVED Analog Current Adjust EAPD Access EAPD RESERVED RESERVED EAPD_ OEN VENDOR RESERVED High Pass Filter Bypass Reserved Vendor ID1 Vendor ID2 9752 1 0 0 1 0 1 0 1 0 0 0 1 1 1 1 0 RSESERVED RESERVED 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 ADC HPF BYP INT APOP RESERVED RESERVED INTDIS GPIO ACC GPIO SLT12 0000h 0000h 0800h 0000h 0000h 0000h 8384h 7652h
*depends upon chip ID
IDTTM
93
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
17. REVISION HISTORY
Revision Date Description of Change -Removed "Preliminary" tag on front page. -Removed BIT_CLK as an input option from clocking table, it was incorrectly included in 3.1 version. -Added CD_GND elaboration note on connection diagram, pin list and pin out diagrams: "The CD_GND signal is an AC signal return for the two CD input channels. It is normally biased at about 2.5 V. The name of the pin in the AC'97 specification is CD_GND, and this has confused many designers. It should not have any DC path to GND. Connecting the CD_GND signal directly to ground will change the internal bias of the entire CODEC, and cause serious distortion. If there is no analog CD input, then this pin can be No-Connect. " Release in IDT format. Updated part ordering information to longer orderable part number related to previously issued PCN.
3.2
October 2003
3.2 3.3
3 October 2006 December 2006
IDTTM
94
STAC9752/9753
REV 3.3 1206
TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
STAC9752/9753 TWO-CHANNEL, 20-BIT, AC'97 2.3 CODECS WITH HEADPHONE DRIVE, SPDIF OUTPUT MICROPHONE & JACK SENSING
Innovate with IDT audio for high fidelity. Contact:
www.IDT.com
For Sales
800-345-7015 408-284-8200 Fax: 408-284-2775
For Tech Support
HA.CM@idt.com
Corporate Headquarters
Integrated Device Technology, Inc. 6024 Silver Creek Valley Road San Jose, CA 95138 United States 800 345 7015 +408 284 8200 (outside U.S.)
Europe
IDT Europe, Limited Prime House Barnett Wood Lane Leatherhead, Surrey United Kingdom KT22 7DE +44 1372 363 339
(c) 2006 Integrated Device Technology, Inc. All rights reserved. Product specifications subject to change without notice. IDT and the IDT logo are trademarks of Integrated Device Technology, Inc. Accelerated Thinking is a service mark of Integrated Device Technology, Inc. All other brands, product names and marks are or may be trademarks or registered trademarks used to identify products or services of their respective owners.


▲Up To Search▲   

 
Price & Availability of STAC9752

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X